logo
pub fn on_keydown<CB, MSG>(
    cb: CB
) -> Attribute<&'static str, &'static str, AttributeValue<MSG>> where
    CB: 'static + Fn(KeyboardEvent) -> MSG,
    MSG: 'static, 
Expand description

attach an on_keydown event to the html element