이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 참여해서 번역을 마치도록 도와 주세요!
English (US)의 문서도 읽어보세요.

A global event handler for the pointermove event.


var moveHandler = targetElement.onpointermove;

Return value

The pointermove event handler for element targetElement.


This example shows two ways to use onpointermove to set an element's pointermove event handler.

function moveHandler(ev) {
 // Process the pointermove event
function init() {
 var el=document.getElementById("target1");
 el.onpointermove = moveHandler;
<body onload="init();">
<div id="target1"> Touch me ... </div>
<div id="target2" onpointermove="moveHandler(event)"> Touch me ... </div>


Specification Status Comment
Pointer Events – Level 2
The definition of 'onpointermove' in that specification.
Working Draft Non-stable version
Pointer Events
The definition of 'onpointermove' in that specification.
Recommendation Initial definition

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 35[1] 59 (59) 10 -ms
? No support
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? 35[1] 29.0 (29)[2] 10 -ms
? No support

[1] This was implemented in bug 248918.

[2] Supported behind the preference dom.w3c_pointer_events.enabled, defaulting to false.

See also

문서 태그 및 공헌자

이 페이지의 공헌자: chrisdavidmills, erikadoyle, jpmedley, rolfedh, Sebastianz, AFBarstow
최종 변경자: chrisdavidmills,