[−][src]Function sauron_core::dom::events::on_mousedown
pub fn on_mousedown<CB, MSG>(cb: CB) -> Attribute<MSG> where
CB: Fn(MouseEvent) -> MSG + 'static,
MSG: 'static,
attach an on_mousedown event to the html element
pub fn on_mousedown<CB, MSG>(cb: CB) -> Attribute<MSG> where
CB: Fn(MouseEvent) -> MSG + 'static,
MSG: 'static,
attach an on_mousedown event to the html element