Module: util/dragdrop

Quick reference

Methods

(static) anyKeyHolding()

On CTRL holding add class 'aiot-helper-method-append' to document body.
Source:

(static) draggable(element, destroyopt)

Make the list table draggable if sort mode is not active.
Parameters:
Name Type Attributes Default Description
element React.Element The element
destroy boolean <optional>
false If true the draggable gets destroyed
Source:

(static) droppable(element)

Enables / Reinitializes the droppable nodes. If a draggable item is dropped here the given posts are moved to the category. You have to provide a ReactJS element to reload the tree.
Parameters:
Name Type Description
element React.Element The element
Source:

(inner) DragHelper(props)

jQuery's draggable helper container.
Parameters:
Name Type Description
props object Properties
Properties
Name Type Description
count int The count
Source: