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

Function find

Sortable.js:223–236  ·  view source on GitHub ↗
(ctx, tagName, iterator)

Source from the content-addressed store, hash-verified

221 return matrixFn && new matrixFn(appliedTransforms);
222 }
223 function find(ctx, tagName, iterator) {
224 if (ctx) {
225 var list = ctx.getElementsByTagName(tagName),
226 i = 0,
227 n = list.length;
228 if (iterator) {
229 for (; i < n; i++) {
230 iterator(list[i], i);
231 }
232 }
233 return list;
234 }
235 return [];
236 }
237 function getWindowScrollingElement() {
238 var scrollingElement = document.scrollingElement;
239 if (scrollingElement) {

Callers 1

Sortable.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…