Module: util/dragdrop

Methods

(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) DragHelper(props)

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