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