Function sauron::on_click [−][src]
pub fn on_click<F, MSG>(
f: F
) -> Attribute<&'static str, &'static str, AttributeValue<MSG>> where
F: Fn(MouseEvent) -> MSG + 'static,
Expand description
on click event
pub fn on_click<F, MSG>(
f: F
) -> Attribute<&'static str, &'static str, AttributeValue<MSG>> where
F: Fn(MouseEvent) -> MSG + 'static,
on click event