[][src]Function sauron::on_mousedown

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

attach an on_mousedown event to the html element