new Sortable(elem)
Creates sortable instance.
Parameters:
Name | Type | Description |
---|---|---|
elem |
DOMElement | The element. |
Members
$dom :jQuery
The DOM element of component.
Type:
enabled :boolean
The flag whether sorting is enable.
Type:
- boolean
Methods
(static) init(elem)
Initializes component.
Parameters:
Name | Type | Description |
---|---|---|
elem |
DOMElement | The element. |
disable()
Disables sorting.
enable()
Enables sorting.