Video details

Svelte 101: bind:this


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!
Related Resources Svelte Svelte REPL Svelte Tutorial: This
🥰 Support me
Want to learn more from me? Check out these links:
Twitter: Blog: Newsletter:
#svelte #svelte101
Thanks for watching 🥰 -- with love, Li Hau