puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.viewport.hastouch.md
2022-10-06 12:22:55 +02:00

199 B

sidebar_label
Viewport.hasTouch

Viewport.hasTouch property

Specify if the viewport supports touch events.

Signature:

interface Viewport {
  hasTouch?: boolean;
}