The Application that is being made draggable.
The Application's outer-most element.
The element that acts as a drag handle. Supply false to disable dragging.
Is the application resizable? Supply an object to configure resizing behavior or true to have it automatically configured.
The Application being made draggable.
The Application's outer-most element.
The drag handle, or false to disable dragging.
Registered event handlers.
The Application's starting position, pre-drag.
Resize configuration.
Static
implementationRetrieve the configured Draggable implementation.
Activate event handling for a Draggable application Attach handlers for floating, dragging, and resizing
Protected
_activateProtected
Attach handlers for dragging and floating.
Protected
_activateProtected
Attach handlers for resizing.
Protected
_onProtected
Handle the initial mouse click which activates dragging behavior for the application
Protected
_onProtected
Move the window with the mouse, bounding the movement to ensure the window stays within bounds of the viewport
Protected
_onProtected
Conclude the dragging behavior when the mouse is release, setting the final position and removing listeners
Protected
_onProtected
Handle the initial mouse click which activates dragging behavior for the application
Protected
_onProtected
Move the window with the mouse, bounding the movement to ensure the window stays within bounds of the viewport
Protected
_onProtected
Conclude the dragging behavior when the mouse is release, setting the final position and removing listeners
A UI utility to make an element draggable.