x property

Describes the acceleration (in m/s2) of the host device in motion along the X, axis.

This property is read-only.

IE11

 

Syntax

JavaScript
ptr = object.x

 

Property values

Type: double

Standards information

Remarks

Acceleration of the host device is relative to the Earth coordinate frame at the user's location, where the X axis is in the ground plane, perpendicular to the North axis and positive towards the East.

See also

DeviceAcceleration

 

 

Show:
© 2014 Microsoft