[−][src]Function sauron::html::events::onclick_prevent_all
pub fn onclick_prevent_all<CB, MSG>(cb: CB) -> Attribute<MSG> where
CB: Fn(MouseEvent) -> MSG + 'static,
MSG: 'static,
on click with both prevent_default and stop_propagation turned on