DeviceAcceleration

package js.html

Available on js

A DeviceAcceleration object provides information about the amount of acceleration the device is experiencing along all three axes.

Documentation DeviceAcceleration by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Fields

read onlyz:Float

The amount of acceleration along the Z axis. Read only.

read onlyy:Float

The amount of acceleration along the Y axis. Read only.

read onlyx:Float

The amount of acceleration along the X axis. Read only.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DeviceAcceleration.html