DeviceMotionEventAcceleration: y property

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 in secure contexts (HTTPS), in some or all supporting browsers.

Thuộc tính chỉ đọc y của giao diện DeviceMotionEventAcceleration cho biết lượng gia tốc xảy ra dọc theo trục Y trong đối tượng DeviceMotionEventAcceleration.

Giá trị

Một double cho biết lượng gia tốc dọc theo trục Y. Xem Accelerometer values explained để biết chi tiết.

Thông số kỹ thuật

Specification
Device Orientation and Motion
# dom-devicemotioneventacceleration-y

Tương thích trình duyệt