sauron_core::dom::events
pub fn on_submit<CB, MSG>(cb: CB) -> Attribute<MSG> where CB: Fn(Event) -> MSG + 'static, MSG: 'static,
attach an on_submit event to the html element