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.
StaticimplementationRetrieve the configured Draggable implementation.
Activate event handling for a Draggable application Attach handlers for floating, dragging, and resizing
Protected_activateProtectedAttach handlers for dragging and floating.
Protected_activateProtectedAttach handlers for resizing.
Protected_onProtectedHandle the initial mouse click which activates dragging behavior for the application
Protected_onProtectedMove the window with the mouse, bounding the movement to ensure the window stays within bounds of the viewport
Protected_onProtectedConclude the dragging behavior when the mouse is release, setting the final position and removing listeners
Protected_onProtectedHandle the initial mouse click which activates dragging behavior for the application
Protected_onProtectedMove the window with the mouse, bounding the movement to ensure the window stays within bounds of the viewport
Protected_onProtectedConclude the dragging behavior when the mouse is release, setting the final position and removing listeners
A UI utility to make an element draggable.