new DragAndDrop(options)
Set up an element to let children be dragged and dropped to rearrange their order.
Styling and certain functionality depend on css properties (currently found in annotationui.css)
targed with class names prefixed with draganddrop-
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
- Source:
Classes
Methods
refresh()
Add draggable attribute to children that match the selector passed in at creation
- Source: