Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. DeviceMotionEventAcceleration

DeviceMotionEventAcceleration

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.

TheDeviceMotionEventAcceleration interface of theDevice Orientation Events provides information about the amount of acceleration the device is experiencing along all three axes.

Instance properties

DeviceMotionEventAcceleration.xRead only

The amount of acceleration along the X axis.

DeviceMotionEventAcceleration.yRead only

The amount of acceleration along the Y axis.

DeviceMotionEventAcceleration.zRead only

The amount of acceleration along the Z axis.

Specifications

Specification
Device Orientation and Motion
# devicemotioneventacceleration

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp