Skip to main content

RouteHandler

Type Alias RouteHandler 

Source
pub type RouteHandler = Rc<dyn Fn(&Interactive, &dyn IRoutedEventArgs)>;
Expand description

An event handler as stored on a route: invoked with the element the handler is attached to and the args being routed.

Aliased Typeยง

pub struct RouteHandler { /* private fields */ }