- Fix types
- Save request object in component data
- Fix Webpack and vue-cli import
- Fix <title> position: prepend instead of append (#48)
- Fix
transformSource
.d.ts types (in #50)
- Add .d.ts types
- Add: Vue v3 support
- BREAKING: remove named exports. Only default export of the component is remained. UMD build now expose
VueInlineSvg
variable representing component.
- Save request object in component data
- Fix Webpack and vue-cli import
- Fix <title> position: prepend instead of append (#48)
- Fix
transformSource
.d.ts types (in #50)
- Fix .d.ts. types to support named exports
- Add .d.ts types
- 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