Concept Flow - Default actions
User Event Occurs
Browser Checks for Default Action
Svelte Event Handler Runs
Calls event.preventDefault()?
Default action prevented
Default action happens
Event Propagation Continues or Stops
When a user event happens, the browser tries to do its default action. Svelte event handlers can stop this by calling event.preventDefault(), which blocks the default action.