Draggable Allow elements to be moved using the mouse
Droppable Create targets for draggable elements
Resizable Change the size of an element using the mouse
Sortable Reorder elements using the mouse
Sort items from one list into another by passing a selector into the connectWith
option. The simplest way to do this is to group all related lists with a CSS class, and then pass that class into the sortable function.
- List 1 item 1
- List 1 item 2
- List 1 item 3
- List 1 item 4
- List 1 item 5
- List 2 item 1
- List 2 item 2
- List 2 item 3
- List 2 item 4
- List 2 item 5
Specify which items are eligible to sort using items
option. Items excluded from this option are not sortable, nor are they valid targets. To only prevent sorting on certain items, pass a jQuery selector into the cancel
option.
- List 1 item 1
- Not sortable or a drop target
- Not sortable or a drop target
- List 1 item 4
- List 1 item 5
- List 2 item 1
- Not sortable
- Not sortable
- List 2 item 4
- List 2 item 5