Named slots • Svelte Examples
Named slots • Svelte Examples
When creating Svelte components, you may need to expose the parent component values to the child component The Svelte let directive can do
Interactive Svelte playground
svelte slot props A guide on how to type events, slots, and props in svelte
svelte pass props to slot Setup ts Caveats - svelte-htm ⚠️ ; Testing component props Get your component props type ; Testing slots Slot
Regular
price
187.00 ₹ INR
Regular
price
187.00 ₹ INR
Sale
price
187.00 ₹ INR
Unit price
/
per