Using slots to pass HTML content to components
Using slots to pass HTML content to components
The last thing to go over regarding slots is slot props There may be a time when you need a slot to track some state and send that data back to the parent
hi, i am trying to pass props to a slot what am i doing wrong?…
sveltekit slot We can use slot props to pass data from the child to parent using the let: directive of slots This helps us set up separation of concerns
svelte pass props to slot pass props BOTH into a slotted component AND back out to the parent Svelte Tutorial
Regular
price
155.00 ₹ INR
Regular
price
155.00 ₹ INR
Sale
price
155.00 ₹ INR
Unit price
/
per