TThis context provides information about the current device.
Methods
-
<inner> hasPointerEventSupport() → {boolean}
-
Returns true if the device can handle pointer events.
Returns:
true if the device can handle pointer events, false otherwise.
- Type
- boolean
-
<inner> hasTouchScreen() → {boolean}
-
Checks the device for touch screen input.
Returns:
true if the current device uses a touch screen as input device.
- Type
- boolean
-
<inner> isMobile() → {boolean}
-
Returns true if the content is running on a mobile device.
Returns:
"true" if the content is running on a mobile device, otherwise "false"
- Type
- boolean