puppeteer/website/versioned_docs/version-19.4.1/api/puppeteer.viewport.hastouch.md
2022-12-16 14:21:28 +01:00

20 lines
228 B
Markdown

---
sidebar_label: Viewport.hasTouch
---
# Viewport.hasTouch property
Specify if the viewport supports touch events.
#### Signature:
```typescript
interface Viewport {
hasTouch?: boolean;
}
```
#### Default value:
false