DraggableModel

Interface representing the Draggable class.

Properties

axis DragDirection

Defines the axis in which the drag path of the element will be prevented.

clone Boolean

Defines whether the dragging is performed on a clone of the element being dragged.

cursorAt PositionModel

Defines the distance between the cursor and the draggable element.

distance Number

Defines the distance the cursor must move away from the draggable element before the dragging starts.

drag DragEventArgs

Defines a callback function that is triggered while the element is being dragged.

dragArea String HTMLElement

Defines the container the draggable element will be bound to.

dragStart DragStartEventArgs

Defines a callback function that is triggered when the element starts to be dragged.

dragStop DragStopEventArgs

Defines a callback function that is triggered when the element stops dragging.

handle String

Defines the child element within the draggable element that will initiate the dragging.

helper Function

Defines a callback function used to customize the cloned draggable element.

ignore String

Defines whether the child element will prevent the dragging to start.

isScrollable Boolean

Defines whether the defined dragArea is scrollable.

scope String

Defines the scope to group sets of draggable and droppable items together.