jQuery/JS Common - utils - devices
An object that serves as a namespace for the methods and events specifying information on the current device.
Methods
This section describes the methods exposed by the DevExpress.devices namespace.
| 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. |
Events
This section describes the events exposed by the DevExpress.devices namespace.
| Name | Description |
|---|---|
| orientationChanged | Fires after device orientation is changed. |