puppeteer/website/versioned_docs/version-19.5.0/api/puppeteer.viewport.hastouch.md
2023-01-09 10:58:41 +01:00

228 B

sidebar_label
Viewport.hasTouch

Viewport.hasTouch property

Specify if the viewport supports touch events.

Signature:

interface Viewport {
  hasTouch?: boolean;
}

Default value:

false