- Add:
title
prop - Fix:
transform-source
to react on property change and not to only transform on initial load - BREAKING:
transform-source
now doesn't affect resulting SVG's attributes, use attrs on the component instead - BREAKING Add:
keep-during-loading
prop,true
by default. It makes vue-inline-svg to preserve old image visible, when new image is being loaded. Passfalse
to disable it and switch to old behaviour.
- Add:
browser
field to package.json. No more extra Webpack configuration is needed by default.
- Fix:
@loaded
event fired to early (it was fired on SVG load, not on component render) - Add: pass SVG element as argument to the
@loaded
callback
- Add:
transformSource
prop #9
- Fixed: don't fail on invalid SVG file parse
- Fixed: update component attrs now correctly launch component rerender
- Refactor: don't patch innerHTML manually, but use render function's domProps
- Add: emit
Error
on error
- Fixed: now listeners correctly passes #4
- Fixed: don't use Vue's merge attrs logic
- Added: don't pass attrs with
false
value to<svg>
- Initial release