Function silkenweb::document::on_touchstart

source ·
pub fn on_touchstart(f: impl FnMut(TouchEvent) + 'static) -> EventCallback
Expand description

Add a touchstart event handler at the document level.

This only has an effect on WASM targets.