handle: the selector format is a simple css selector string, which makes the elements in the list unit that conform to the selector become a drag handle. Only by holding down the drag handle can the list unit drag
configure the handle according to the above. For example: handle:'.header'
Special note that filter is not recommended for filtering, because elements filtered by filter cannot be dragged. But elements that can be dragged can affect it.
it is recommended to use options: {draggable:'. Item-drag'} to set draggable elements, and draggable elements cannot be affected.
{group: {name:'card-config',put:'clone','pull':'clone'}, filter: '.undraggable' , sort:true} "
filter attribute: the css selection syntax can be set not to be dragged for this part of the element.
refer to the draggable attribute to achieve
dynamic modification. How to modify filter?
< draggable
draggable = ".singlePerson"
class="singleLetterPersons"
>
means that you can only drag and drop the corresponding class selector. When you change the name of the class selector of an element, you can control that the element can not be dragged. Isn't it good
https://github.com/SortableJS...