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