puppeteer/docs/api/puppeteer.viewport.hastouch.md
2022-07-01 11:52:39 +00:00

199 B

sidebar_label
Viewport.hasTouch

Viewport.hasTouch property

Specify if the viewport supports touch events.

Signature:

interface Viewport {
  hasTouch?: boolean;
}