Skip to main content
Version: 17.1.3

Viewport.hasTouch property

Specify if the viewport supports touch events.

Signature:

interface Viewport {
hasTouch?: boolean;
}