pub fn on_reset<CB, MSG>(cb: CB) -> Attribute<MSG>where CB: FnMut(Event) -> MSG + 'static, MSG: 'static,
attach an on_reset event to the html element