puppeteer/website/versioned_docs/version-17.1.3/api/puppeteer.viewport.hastouch.md

16 lines
199 B
Markdown
Raw Normal View History

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