vue-inline-svg
vue-inline-svg copied to clipboard
Set (overwrite) title with slot
As SVGs don't support the title attribute, a nice api would be a component's title attribute that renders as a title tag inside the loaded svg.
This theoretically also applies to style but is not subject of this issue.
Any plans on supporting this?
As a workaround, you can use transformSource with some helper function which will add title tag
Released under v2.0.0
Consider replacing title prop with slot accepting <title>, <desc>, <style>, etc.
https://github.com/homeday-de/homeday-blocks/pull/481