Use DOM events and event modifiers in Svelte 3

InstructorTomasz Łakomy

Share this video with your friends

Send Tweet

The whole magic of webapps is that users can interact with our code via various DOM events and Svelte is no exception in that regard.

In this quick lesson we're going to learn how to use DOM events in Svelte 3 as well as how to use event modifiers to alter DOM event behaviour (such as once and preventDefault)