Svelte Tutorial for Beginners - bind:this
Автор: lihautan
Загружено: 2021-04-08
Просмотров: 3490
Sometimes it is useful to get the reference of the element created by Svelte.
In this video, we are going to take a look how you can do that with `bind:this`.
And of course, bind:this works with components as well! With the reference of the component instance, you can call methods exported by the component!
---
💻 REPL https://svelte.dev/repl/c8c0fc9e1f054...
🎧 Svelte Tutorial for Beginners • Svelte Tutorial for Beginners
📚 Related Resources
Svelte https://svelte.dev
Svelte REPL https://svelte.dev/repl
Svelte Tutorial: This https://svelte.dev/tutorial/bind-this
🥰 Support me https://www.buymeacoffee.com/lihautan
🔗 Want to learn more from me? Check out these links:
Twitter: / lihautan
Blog: https://lihautan.com/
Newsletter: https://lihautan.com/newsletter
#svelte #sveltetutorial #sveltebeginner
Thanks for watching 🥰 -- with love, Li Hau
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: