2022-07-05 13:41:43 +00:00
---
sidebar_label: Touchscreen
---
# Touchscreen class
The Touchscreen class exposes touchscreen events.
2022-10-24 07:07:05 +00:00
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
2023-10-06 09:08:44 +00:00
export declare abstract class Touchscreen
2022-07-05 13:41:43 +00:00
```
## Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `Touchscreen` class.
## Methods
2024-03-20 15:03:14 +00:00
< table > < thead > < tr > < th >
Method
< / th > < th >
Modifiers
< / th > < th >
Description
< / th > < / tr > < / thead >
< tbody > < tr > < td >
2024-04-11 11:01:13 +00:00
< span id = "tap" > [tap(x, y)](./puppeteer.touchscreen.tap.md)< / span >
2024-03-20 15:03:14 +00:00
< / td > < td >
< / td > < td >
Dispatches a `touchstart` and `touchend` event.
< / td > < / tr >
< tr > < td >
2024-04-11 11:01:13 +00:00
< span id = "touchend" > [touchEnd()](./puppeteer.touchscreen.touchend.md)< / span >
2024-03-20 15:03:14 +00:00
< / td > < td >
< / td > < td >
Dispatches a `touchend` event.
< / td > < / tr >
< tr > < td >
2024-04-11 11:01:13 +00:00
< span id = "touchmove" > [touchMove(x, y)](./puppeteer.touchscreen.touchmove.md)< / span >
2024-03-20 15:03:14 +00:00
< / td > < td >
< / td > < td >
Dispatches a `touchMove` event.
2024-04-29 12:50:39 +00:00
**Remarks:**
Not every `touchMove` call results in a `touchmove` event being emitted, depending on the browser's optimizations. For example, Chrome [throttles ](https://developer.chrome.com/blog/a-more-compatible-smoother-touch/#chromes-new-model-the-throttled-async-touchmove-model ) touch move events.
2024-03-20 15:03:14 +00:00
< / td > < / tr >
< tr > < td >
2024-04-11 11:01:13 +00:00
< span id = "touchstart" > [touchStart(x, y)](./puppeteer.touchscreen.touchstart.md)< / span >
2024-03-20 15:03:14 +00:00
< / td > < td >
< / td > < td >
Dispatches a `touchstart` event.
< / td > < / tr >
< / tbody > < / table >