DeviceRotationRate.alpha
Cette propriété indique la vitesse de rotation autour de l'axe Z — en degrés par seconde — dans un objet DeviceRotationRate
.
Syntaxe
js
var alpha = deviceRotationRate.alpha;
Cette propriété est en lecture seule.
Valeur retournée
alpha
-
Un
double
indiquant la vitesse de rotation autour de l'axe Z, en degrés par seconde. Voir Détecter l'orientation de l'appareil pour plus de détails.
Spécifications
Specification |
---|
Device Orientation and Motion # dom-devicemotioneventrotationrate-alpha |
Compatibilité des navigateurs
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
alpha |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.