pub fn on_keydown<CB, MSG>(cb: CB) -> Attribute<MSG>where
CB: FnMut(KeyboardEvent) -> MSG + 'static,
MSG: 'static,
Expand description
attach an on_keydown event to the html element
pub fn on_keydown<CB, MSG>(cb: CB) -> Attribute<MSG>where
CB: FnMut(KeyboardEvent) -> MSG + 'static,
MSG: 'static,
attach an on_keydown event to the html element