2 ways to pass data into Svelte slots
2 ways to pass data into Svelte slots
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 no
For example, you could imagine you make a Svelte Component that's a dialog frame Inside the dialog frame you want to put custom dialogs, like
svelte pass props to slot Take a deep dive into Svelte components with slots by learning how they work and how to use them to supercharge your Svelte apps
svelte slot props 2 Answers 2 This is not possible right now The only slot that can be assigned without naming it, is the default slot You can't have two
Regular
price
116.00 ₹ INR
Regular
price
116.00 ₹ INR
Sale
price
116.00 ₹ INR
Unit price
/
per