Configuring sortable options
The sortables component has a huge range of configurable options, much more than any of the other interaction components (but not as many as some of the widgets).
The following table shows the range of options at our disposal:
Option |
Default value |
Used to… |
---|---|---|
|
|
Set the element that helpers are appended to, during a sort. |
|
|
Constrain sortables to one axis of movement. Possible values are the strings x or y. |
|
|
Specify elements that cannot be sorted, if they are the elements being sorted. |
|
|
Enable one-way sorting from the current list to the specified list. |
|
|
Constrain sortables to their container while they are being sorted. Values can be the string's parent, window, or document, or can be a jQuery selector or element node. |
|
|
Define the CSS cursor to apply while dragging a sortable element. |
|
|
Specify the coordinates... |