A newer version of this page is available. Switch to the current version.

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

Information about the event.

Object structure:
Name Type Description
orientation

String

A new device orientation: "portrait" or "landscape".

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