Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

Action and event dispatching.

This module handles the flow of user interactions from UI → logic:

  • Actions (@actions.xxx in DSL) — dispatched when users interact with buttons, forms, etc. Handlers are registered via Engine::on_action or WasmEngine::onAction.

  • Events — low-level UI events (click, input change) that can be mapped to actions via the EventRouter.

Re-exports§

pub use action::Action;
pub use action::ActionDispatcher;
pub use event::Event;
pub use event::EventHandler;

Modules§

action
event