Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

MouseEvent.movementY

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

The MouseEvent.movementY read-only property provides the shift in the Y coordinate of the mouse pointer between that event and the previous mousemove event. In other words, the value of that property is computed that way : currentEvent.movementY = currentEvent.screenY - previousEvent.screenY.

Syntax

var yShift = instanceOfMouseEvent.movementY

Return value

A number

Specifications

Specification Status Comment
Pointer Lock
The definition of 'MouseEvent.movementY' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

Feature Firefox (Gecko) Chrome Internet Explorer Opera Safari
Basic support 1.0 (1.7 or earlier) moz
41 (41)
22.0 webkit
37.0 unprefixed
No support ? No support
Feature Firefox Mobile (Gecko) Android Android Webview IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support 1.0 (1.0) moz
41.0 (41)
? ? ? ? ? (Yes) webkit
37.0 unprefixed

See also

ドキュメントのタグと貢献者

 このページの貢献者: jpmedley, cvrebert, teoli, kscarfone, Jeremie
 最終更新者: jpmedley,