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