Mixin: DraggableElement

.ui.mixin.DraggableElement

DraggableElement is a mixin class used to create elements that can be clicked and dragged by a mouse to a new position within a group. This class must be used in conjunction with OO.ui.mixin.DraggableGroupElement, which provides a container for the draggable elements.
Source:

Methods

isDraggable() → {boolean}

Check the draggable state of this widget
Source:
Returns:
Widget supports draggable operations
Type
boolean

toggleDraggable(isDraggable)

Change the draggable state of this widget. This allows users to temporarily halt the dragging operations.
Parameters:
Name Type Description
isDraggable boolean Widget supports draggable operations
Source:
Fires: