Sortable.create(list, { ... filter: '.notouch', ... });
Programming Tips - javaScript: get Sortablejs to exclude some elements
Date: 2021feb20
Library: Sortablejs
Language: javaScript
Q. javaScript: get Sortablejs to exclude some elements
(Make it so the user cannot drag from there)
A. Use the `filter` option.
For example if the elements have class='notouch'
do filter: '.notouch'
For example