Update docs/src/touch-events.md
Co-authored-by: Dmitry Gozman <dgozman@gmail.com> Signed-off-by: Yury Semikhatsky <yurys@chromium.org>
This commit is contained in:
parent
41e604777c
commit
ad040387ed
|
|
@ -5,7 +5,7 @@ title: "Emulating touch events"
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
Touch gestures on a webpage can generate both legacy [TouchEvent]((https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)s) and modern [PointerEvent](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)s. Depending on which type your application relies on, you can emulate touch interactions using different approaches. The following guide explains how to simulate both PointerEvent-based and TouchEvent-based gestures for testing purposes.
|
Touch gestures on a webpage can generate both legacy [TouchEvent](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent)s and modern [PointerEvent](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)s. Depending on which type your application relies on, you can emulate touch interactions using different approaches. The following guide explains how to simulate both PointerEvent-based and TouchEvent-based gestures for testing purposes.
|
||||||
|
|
||||||
### Dispatching PointerEvent
|
### Dispatching PointerEvent
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue