Function sauron::dom::events::on_touchstart
source · pub fn on_touchstart<CB, MSG>(cb: CB) -> Attribute<MSG>where
CB: FnMut(TouchEvent) -> MSG + 'static,
MSG: 'static,
Expand description
attach an on_touchstart event to the html element