1
/
of
1
How to pass props to a slot for a custom component in Svelte?
How to pass props to a slot for a custom component in Svelte?
Whenever you are passing content into a slot, you involve 2 components, the component that
组件子级 Checking for slot content
svelte pass props to slot find this helpful! My channel membership is live check it out here Svelte Tutorial
svelte slot Components can be placed in a named slot using the syntax Component slot=name > In order to place content in a slot without using a wrapper element
Regular
price
167.00 ₹ INR
Regular
price
167.00 ₹ INR
Sale
price
167.00 ₹ INR
Unit price
/
per
Share
![svelte get slot content](10030.jpg)