In this video we'll teach you how to communicate from a child component up to its parent, with component events in Svelte.
We cover the following topics:
0:00 - Intro
0:14 - Component Events
0:38 - Dispatch an Event
2:46 - Listen for an Event
3:50 - Send data with an Event
5:17 - Forward an event through the component tree
6:24 - Outro & Next up
This lesson is also available in written format
https://www.koderhq.com/tutorial/svel...
Check out the Svelte playlist for more videos
• Svelte for Beginners
Subscribe to the channel and never miss a lesson
/ @koderhq
Visit the website for a wide range of programming tutorials
https://www.koderhq.com