jQuery.event.special.panend
Event raised once when a pointer is released (on pointerend
) after the pointer has already been raising pan
events.
Usage
$(element).on('panend', function(e){
// handle event...
});
Data on the event
pointers
: array of Pointer objects, each withpageX
andpageY
propertiesoriginalEvent
: Native event objectduration
: duration of the gestureangle
: angle, in degrees, of the pan from start to finishdirection
: general direction of the pan, based on the angle. 'up', 'down', 'right', or 'left'pageX
: x positionpageY
: y position