Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

y property

Describes the acceleration (in m/s²) of the host device in motion along the Y, axis.

This property is read-only.

IE11

 

Syntax

JavaScript
ptr = object.y

 

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 Y axis is in the ground plane, and positive towards True North (towards the North Pole).

See also

DeviceAcceleration

 

 

Show:
© 2015 Microsoft