codefeathers / rollup-plugin-svelte-svg

Import SVG files as Svelte Components
MIT License
76 stars 12 forks source link

added documentation for <slot /> #35

Open ryanrapini opened 1 year ago

ryanrapini commented 1 year ago

Just adding documentation for PR #34

MKRhere commented 1 year 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?