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