jQuery.event.special.pointerend
Cross-platform event raised when pointing/touching has ended. Supported on Android, iOS, Windows Phone, and desktop browsers (via mouse events).
Bubbles and can be delegated against.
pointerend
is a low-level event consumed by higher-level gesture events. If attempting handle a user's tap, it's almost always better to handle the explicit tap gesture event in the same way that it's typically better to handle the click
event instead of mouseup
on the desktop.
Usage
$(element).on('pointerend', function(e){
// handle event...
});
Data on the event
originalEvent
: Native event object which was re-interpreted as apointerend
. (mouseup
,touchend
, ormspointerend
)pointers
: array of Pointer objects, each withpageX
andpageY
properties