Function sauron::prelude::on_focus

source ·
pub fn on_focus<CB, MSG>(cb: CB) -> Attribute<MSG>
where CB: FnMut(FocusEvent) -> MSG + 'static, MSG: 'static,
Expand description

attach an on_focus event to the html element