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