Question · Svelte and SvelteKit course · Module 10: Actions
Using an Action on an Element
How do we use an action on a DOM element?
Answer options
- action:myAction
- use:myAction
- on:myAction
- @myAction
You can check the correct answer by solving this task in the CodeWorlds game.