package js.html
Available on jsA
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:
read only x:Float
The amount of acceleration along the X axis. Read only.
read only y:Float
The amount of acceleration along the Y axis. Read only.
read only z:Float
The amount of acceleration along the Z axis. Read only.
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/DeviceAcceleration.html