Utility that provides a pull gesture with touch events.
staticfinalread onlyPOINTER_ID_MOUSE:Int = -1000
A special pointer ID for the mouse.
Determines if the pull gesture is active.
The size, measured in pixels, of the active border where the pull
gesture may begin. If
null, the full bounds of the target may start
a pull gesture.
Determines if a touch is currently dragging the target.
ease:IEasing = Quart.easeOut
The easing function to use when animating the pull distance.
enabled:Bool = true
Determines if the target can be pulled or not.
The maximum distance the edge of the
target may be pulled, measured in
null, the maximum pull distance will be equal to the full
size of the
minDragDistance:Float = 6.0
The minimum distance, measured in pixels, that the target must be dragged to begin a pull gesture.
Indicates if the pull gesture is in the open position.
The pointer that is currently dragging the target. Returns
if no pointer is currently associated with the drag.
The current distance that the edge has been pulled, from
maxPullDistance, measured in pixels.
The edge of the target where the pull originates.
simulateTouch:Bool = false
Determines if mouse events should be treated like touch events.
The duration of the snap animation, measured in seconds.
The target used for detecting pull gestures.