Function sauron::on_checked[][src]

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

attach an on_checked event to the html element