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

Function hideClone

plugins/MultiDrag/MultiDrag.js:123–135  ·  view source on GitHub ↗
({ sortable, cloneNowHidden, cancel })

Source from the content-addressed store, hash-verified

121 },
122
123 hideClone({ sortable, cloneNowHidden, cancel }) {
124 if (!this.isMultiDrag) return;
125 multiDragClones.forEach(clone => {
126 css(clone, 'display', 'none');
127 if (this.options.removeCloneOnHide && clone.parentNode) {
128 clone.parentNode.removeChild(clone);
129 }
130 });
131
132 cloneNowHidden();
133 clonesHidden = true;
134 cancel();
135 },
136
137 dragStartGlobal({ sortable }) {
138 if (!this.isMultiDrag && multiDragSortable) {

Callers

nothing calls this directly

Calls 2

cssFunction · 0.90
cloneNowHiddenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…