Home Reference Source

References

Draggable

summary
public

This is the core draggable library that does the heavy lifting

public

V defaultOptions: {"draggable": string, "handle": *, "delay": number, "placedTimeout": number, "plugins": *, "sensors": *, "classes": *}

Draggable/DragEvent

summary
public

Base drag event

public

Drag move event

public

Drag out container event

public

Drag out event

public

Drag over container event

public

Drag over event

public

Drag pressure event

public

Drag start event

public

Drag stop event

Draggable/DraggableEvent

summary
public

Draggable destory event

public

Base draggable event

public

Draggable initialized event

Draggable/MirrorEvent

summary
public

Mirror attached event

public

Mirror create event

public

Mirror created event

public

Mirror destroy event

public

Base mirror event

public

Mirror move event

Draggable/Plugins/Accessibility

summary
public

WIP Accessibility plugin

Draggable/Plugins/AutoScroll

summary
public

AutoScroll plugin which scrolls the closest scrollable parent

public

AutoScroll default options

public

V onDragMove: *

public
public

V onDragStop: *

public

V scroll: *

Draggable/Plugins/Mirror

summary
public

C Mirror

public

V defaultOptions: {"constrainDimensions": *, "xAxis": boolean, "yAxis": boolean}

Draggable/Sensors/DragSensor

summary
public

This sensor picks up native browser drag events and dictates drag operations

Draggable/Sensors/ForceTouchSensor

summary
public

This sensor picks up native force touch events and dictates drag operations

Draggable/Sensors/MouseSensor

summary
public

This sensor picks up native browser mouse events and dictates drag operations

Draggable/Sensors/Sensor

summary
public

C Sensor

Base sensor class.

Draggable/Sensors/SensorEvent

summary
public

Drag move sensor event

public

Drag pressure sensor event

public

Drag start sensor event

public

Drag stop sensor event

public

Base sensor event

Draggable/Sensors/TouchSensor

summary
public

This sensor picks up native browser touch events and dictates drag operations

Droppable

summary
public

Droppable is built on top of Draggable and allows dropping draggable elements into droppable element

Droppable/DroppableEvent

summary
public

Base droppable event

public

Droppable out event

public

Droppable over event

Plugins/Collidable

summary
public

Plugins/Collidable/CollidableEvent

summary
public

Base collidable event

public

Collidable in event

public

Collidable out event

Plugins/Snappable

summary
public

Plugins/Snappable/SnappableEvent

summary
public

Base snap event

public

Snap in event

public

Snap out event

Plugins/SwapAnimation

summary
public
public

V defaultOptions: {"duration": number, "easingFunction": string}

Sortable

summary
public

Sortable is built on top of Draggable and allows sorting of draggable elements.

Sortable/SortableEvent

summary
public

Base sortable event

public

Sortable sort event

public

Sortable sorted event

public

Sortable start event

public

Sortable stop event

Swappable

summary
public

Swappable is built on top of Draggable and allows swapping of draggable elements.

Swappable/SwappableEvent

summary
public

Base swappable event

public

Swappable start event

public

Swappable stop event

public

Swappable swap event

public

Swappable swapped event

shared/AbstractEvent

summary
public abstract

All events fired by draggable inherit this class.

shared/AbstractPlugin

summary
public abstract

All draggable plugins inherit from this class.

shared/utils/closest

summary
public

F closest(element: Element, selector: String | Function): Element | null

Get the closest parent element of a given element that matches the given selector string or matching function