Contents

ondeviceorientation

The event listener that is called while the device orientation changes around the x, y, and z axes.

Declaration

attribute EventHandler ondeviceorientation;

Discussion

Read DeviceOrientationEvent for details.

See Also

Getting Orientation and Motion Events