Module: util/dragdrop

Methods

(static) anyKeyHolding()

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

(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

(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

(inner) draggableTouchClick()

Detect a single click on touch devices to trigger the click handler. This must be done because jQuery Touch Punch does not support click and draggable concurrently.

(inner) DragHelper(props)

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