Function sauron::on_focus[][src]

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

attach an on_focus event to the html element