Module events

Source
Expand description

Enhanced event system for Orbit UI framework

The event system provides:

  • Generic event trait with downcasting support
  • Event emitter for general event handling with type erasure
  • Dispatcher for strongly-typed event handling
  • Event delegation for component event propagation
  • Layout-aware hit testing for precise event targeting
  • Component ID integration for efficient event routing

Re-exports§

pub use dispatcher::Dispatcher;
pub use emitter::EventEmitter;
pub use event::Event;
pub use delegation::*;
pub use hit_testing::*;

Modules§

delegation
Event delegation system for Orbit UI framework
dispatcher
Event dispatcher for typed event handling
emitter
Event emitter for component events
event
Event trait for OrbitRS events system
hit_testing
Hit testing functionality for layout-aware event handling

Structs§

EventSystem
Enhanced event system that integrates with layout and components

Enums§

EventError
Errors that can occur in the event system