Duplicate the application's starting position to track differences
Remember event handlers associated with this Draggable class so they may be later unregistered
Throttle mousemove event handling to 60fps
Activate event handling for a Draggable application Attach handlers for floating, dragging, and resizing
Attach handlers for dragging and floating.
Attach handlers for resizing.
Handle the initial mouse click which activates dragging behavior for the application
Move the window with the mouse, bounding the movement to ensure the window stays within bounds of the viewport
Conclude the dragging behavior when the mouse is release, setting the final position and removing listeners
Handle the initial mouse click which activates dragging behavior for the application
Move the window with the mouse, bounding the movement to ensure the window stays within bounds of the viewport
Conclude the dragging behavior when the mouse is release, setting the final position and removing listeners
A UI utility to make an element draggable.
The Application that is being made draggable.
A JQuery reference to 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 behaviour or true to have it automatically configured.
A selector for the resize handle.
Enable resizing in the X direction.
Enable resizing in the Y direction.
Modify the resizing direction to be right-to-left.