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