Skip to main content
Version: Next

Viewport.hasTouch property

Specify if the viewport supports touch events.

Signature:

interface Viewport {
hasTouch?: boolean;
}

Default value:

false