sidebar_label |
---|
Touchscreen.tap |
Dispatches a touchstart
and touchend
event.
class Touchscreen {
tap(x: number, y: number): Promise<void>;
}
Parameter | Type | Description |
---|---|---|
x | number | Horizontal position of the tap. |
y | number | Vertical position of the tap. |
Returns:
Promise<void>