pub fn pointer_event_from_dom_event(
ev: &Event,
opts: &Options,
) -> Option<PointerEvent>Expand description
Convert a DOM event (Mouse/Pointer/Wheel) into a ui-events PointerEvent
with options to control conversion.
For multi-touch events, this returns the primary pointer’s event when possible, otherwise it returns an arbitrary changed touch.