svelte slot ✓ Slots & Component Composition - Svelte Tutorial #23
฿100.00
svelte slot
Svelte components also accept arbitrary HTML using Slots In this module, we will learn how The slot tag Here we have a basic modal component with nosvelte slot
We've learned how to use slot in @sveltejs , now let's see how we can pass dynamic data to the slotted contents
svelte slotWe can add the slot component to a Svelte component to let us nest components inside another component In the code above, we have the
svelte slot I want to use Component as Slot, I want to create two Components Title and Caption , and set up a target slot for them I'm not sure if it is possible or not