|
|
@ -61,7 +61,7 @@ var sortable = new Sortable(el, { |
|
|
|
animation: 150, // ms, animation speed moving items when sorting, `0` — without animation |
|
|
|
animation: 150, // ms, animation speed moving items when sorting, `0` — without animation |
|
|
|
handle: ".my-handle", // Drag handle selector within list items |
|
|
|
handle: ".my-handle", // Drag handle selector within list items |
|
|
|
filter: ".ignore-elements", // Selectors that do not lead to dragging (String or Function) |
|
|
|
filter: ".ignore-elements", // Selectors that do not lead to dragging (String or Function) |
|
|
|
draggable: ".item", // Specifies which items inside the element should be sortable |
|
|
|
draggable: ".item", // Specifies which items inside the element should be draggable |
|
|
|
ghostClass: "sortable-ghost", // Class name for the drop placeholder |
|
|
|
ghostClass: "sortable-ghost", // Class name for the drop placeholder |
|
|
|
chosenClass: "sortable-chosen", // Class name for the chosen item |
|
|
|
chosenClass: "sortable-chosen", // Class name for the chosen item |
|
|
|
dataIdAttr: 'data-id', |
|
|
|
dataIdAttr: 'data-id', |
|
|
|