puppeteer/docs/api/puppeteer.viewport.hastouch.md

16 lines
199 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Viewport.hasTouch
---
# Viewport.hasTouch property
Specify if the viewport supports touch events.
**Signature:**
```typescript
interface Viewport {
hasTouch?: boolean;
}
```