[][src]Function sauron::on_submit

pub fn on_submit<CB, MSG>(
    cb: CB
) -> Attribute<&'static str, &'static str, AttributeValue, Event, MSG> where
    CB: Fn(Event) -> MSG + 'static,
    MSG: 'static, 

attach an on_submit event to the html element