Skip to main content
Version: 18.0.3

Viewport.hasTouch property

Specify if the viewport supports touch events.

Signature:

interface Viewport {
hasTouch?: boolean;
}