[−][src]Function sauron_core::dom::events::on_keydown
pub fn on_keydown<CB, MSG>(cb: CB) -> Attribute<MSG> where
CB: Fn(KeyboardEvent) -> MSG + 'static,
MSG: 'static,
attach an on_keydown event to the html element
pub fn on_keydown<CB, MSG>(cb: CB) -> Attribute<MSG> where
CB: Fn(KeyboardEvent) -> MSG + 'static,
MSG: 'static,
attach an on_keydown event to the html element