Support for Allocation Lists (sortable lists).
Methods
-
(static) GetResult(ResultListSelector, DataAttribute) → {Array}
-
Gets the result of an allocation list.
Parameters:
Name Type Description ResultListSelectorString The selector for the list which will be evaluated for the result. DataAttributeString The data attribute to determine the selection. Returns:
An array of values defined by DataAttribute.- Type
- Array
-
(static) Init(ListSelector, ConnectorSelector, ReceiveCallback, RemoveCallback, SortStopCallback)
-
Initializes an allocation list.
Parameters:
Name Type Description ListSelectorString The selector for the lists to initialize ConnectorSelectorString The selector for the connection (dnd), probably a class ReceiveCallbackfunction The Callback which is called if a list receives an element RemoveCallbackfunction The Callback which is called if an element is removed from a list SortStopCallbackfunction The Callback which is called if the sorting has stopped.