Skip to main content
Version: 17.1.0

Viewport.hasTouch property

Specify if the viewport supports touch events.

Signature:

interface Viewport {
hasTouch?: boolean;
}