[][src]Function sauron::events::on_checked

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

attach an on_checked event to the html element