Capítulo 199 de 411
Forces the Draggable to immediately stop an in-progress drag, as if the pointer were released; must be passed the original mouse/touch event (Draggable inspects it for pageX/pageY/target).
| Parameter | Type | Description |
|---|---|---|
| event | Object | the original mouse or touch event that should trigger the stop |
disable(): endDrag() only stops the current drag gesture (like a release), it doesn't prevent future drags the way disable() does.