Video details

Svelte 101: $$slots

Svelte
04.26.2021
English

How do you determine if a slots is being passed into a component? How do you show / hide an element if a slot is being passed into a component?
---
đź’»
REPL https://svelte.dev/repl/b0cb40815b9749f891c3a156d159d8b6?version=3.37.0
đź“š
Related Resources Svelte https://svelte.dev Svelte REPL https://svelte.dev/repl Svelte Tutorial - $$slots https://svelte.dev/docs#slots_object
🥰 Support me https://www.buymeacoffee.com/lihautan
đź”—
Want to learn more from me? Check out these links:
Twitter: https://twitter.com/lihautan Blog: https://lihautan.com/ Newsletter: https://lihautan.com/newsletter
#svelte #svelte101
Thanks for watching 🥰 -- with love, Li Hau