jQuery.event.special.pointermove
Cross-platform event raised when an existing point/touch has moved. Supported on Android, iOS, Windows Phone, and desktop browsers (via mouse events).
Bubbles and can be delegated against.
pointermove
is a low-level event consumed by higher-level gesture events. If attempting handle a user's movement, it's almost always better to handle the explicit swipe or pan gesture events.
Usage
$(element).on('pointermove', function(e){
// handle event...
});
Data on the event
originalEvent
: Native event object which was re-interpreted as apointermove
. (mousemove
,touchmove
, ormspointermove
)pointers
: array of Pointer objects, each withpageX
andpageY
properties