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