jQuery/JS Common - utils - devices
An object that serves as a namespace for the methods and events specifying information on the current device.
Methods
Name | Description |
---|---|
current() |
Gets information on the current device. |
current(deviceName) |
Overrides actual device information to force the application to operate as if it was running on a specified device. |
off(eventName) |
Detaches all event handlers from a single event. |
off(eventName, eventHandler) |
Detaches a particular event handler from a single event. |
on(eventName, eventHandler) |
Subscribes to an event. |
on(events) |
Subscribes to events. |
orientation() |
Returns the current device orientation. |
real() |
Returns real information about the current device regardless of the value passed to the devices.current(deviceName) method. |
If you have technical questions, please create a support ticket in the DevExpress Support Center.