Skip to main content

handle_event

Function handle_event 

Source
pub fn handle_event(
    ctx: &ComponentContext<'_>,
    event: &InputEvent,
) -> Option<EventResult>
Expand description

Handle a key-press for a Button (fires its action on Enter).