Concept Flow - Action with event dispatching
Component mounts
Action initialized
User event triggers action
Action dispatches custom event
Component listens and handles event
Component updates state/UI
This flow shows how a Svelte action attaches to an element, listens for user events, dispatches a custom event, and the component reacts to update UI.