DeviceMotionEvent: rotationRate プロパティ
Baseline 2023Newly available
Since September 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
DeviceMotionEvent.rotationRate
は読み取り専用プロパティで、端末がそれぞれの軸を中心に回転している秒あたりの角度を返します。
メモ:
ハードウェアがこの情報を提供できない場合、このプロパティは null
を返します。
値
仕様書
Specification |
---|
Device Orientation and Motion # ref-for-dom-devicemotionevent-rotationrate② |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
rotationRate |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full 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.