codefeathers / rollup-plugin-svelte-svg

Import SVG files as Svelte Components
MIT License
75 stars 13 forks source link

added documentation for <slot /> #35

Open ryanrapini opened 11 months ago

ryanrapini commented 11 months ago

Just adding documentation for PR #34

MKRhere commented 11 months ago

Actually, while testing after #34, I find that adding <title> with slot inserts it correctly, but neither Firefox nor Chrome display the tooltip on hover. If you manually add <title> in devtools or in the SVG, it works correctly. Curiously, this only happens with <title>. Any other element you add via slot works as expected. Any idea why this may be?