pub trait EventRoutingState<Id: ComponentId, Ctx: BindingContext> {
// Required methods
fn focused(&self) -> Option<Id>;
fn modal(&self) -> Option<Id>;
fn binding_context(&self, id: Id) -> Ctx;
fn default_context(&self) -> Ctx;
}Expand description
State accessors used by the event bus for routing decisions.