Events

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

orientationChanged

Fires after device orientation is changed.

Type:

Event

Function parameters:
e:

Object

Provides function parameters.

Object structure:
Name Type Description
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.