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

13 lines
206 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;}
```