MCPcopy Index your code
hub / github.com/SortableJS/Sortable / deselect

Function deselect

plugins/MultiDrag/MultiDrag.js:546–552  ·  view source on GitHub ↗

* Deselects the provided multi-drag item * @param {HTMLElement} el The element to be deselected

(el)

Source from the content-addressed store, hash-verified

544 * @param {HTMLElement} el The element to be deselected
545 */
546 deselect(el) {
547 let sortable = el.parentNode[expando],
548 index = multiDragElements.indexOf(el);
549 if (!sortable || !sortable.options.multiDrag || !~index) return;
550 toggleClass(el, sortable.options.selectedClass, false);
551 multiDragElements.splice(index, 1);
552 }
553 },
554 eventProperties() {
555 const oldIndicies = [],

Callers

nothing calls this directly

Calls 1

toggleClassFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…