Video details

Svelte 101: bind:group

Svelte
04.07.2021
English

How do you control a list of checkboxes or radio boxes with binding? Do you declare a list of booleans and use bind:checked on each of the checkboxes and radio boxes?
Well, you can use bind:group to control a group of checkboxes or radio boxes with 1 variable!
---
đź’»
REPL https://svelte.dev/repl/09e2bcf96f7d44c49fd34ed50bed8293?version=3.37.0
đź“š
Related Resources Svelte https://svelte.dev Svelte REPL https://svelte.dev/repl Svelte Tutorial: Group inputs https://svelte.dev/tutorial/group-inputs
🥰 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