Events

This section describes the events exposed by the DevExpress.devices namespace.

orientationChanged

Fires after device orientation is changed.

Event Handler Argument:

Provides function parameters.

Object structure:
orientation: String

The "portrait" or "landscape" value specifying new device orientation.

Use the on(eventName, eventHandler) method to subscribe to this event and the off(eventName) method to unsubscribe from it.