alpha property

The amount of rotation (in the range of [0, 360)) around the Z axis, where Z is perpendicular to the screen, and positive out of the screen.

This property is read-only.

IE11

 

Syntax

JavaScript
ptr = object.alpha

 

Property values

Type: double

Standards information

Remarks

A value of zero indicates that the host device is pointed North.

See also

DeviceOrientationEvent

 

 

Show:
© 2014 Microsoft