Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Use DOM events and event modifiers in Svelte 3


    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)