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