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