Skip to main content
Version: 18.0.5

Viewport.hasTouch property

Specify if the viewport supports touch events.

Signature:

interface Viewport {
hasTouch?: boolean;
}