Contents

ondevicemotion

The event listener that is called when the device motion changes.

Declaration

attribute EventHandler ondevicemotion;

Discussion

Read DeviceMotionEvent for details.

See Also

Getting Orientation and Motion Events