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

beta property

The amount of rotation (in the range of [-180, 180)) around the X axis, where X is in the plane of the screen, and positive towards the right hand side of the screen.

This property is read-only.

IE11

 

Syntax

JavaScript
ptr = object.beta

 

Property values

Type: double

Standards information

Remarks

A value of zero indicates that the host device is not vertically tilted in any way from top to bottom.

See also

DeviceOrientationEvent

 

 

Show:
© 2015 Microsoft