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

Function getParentOrHost

Sortable.js:161–163  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

159 return false;
160 }
161 function getParentOrHost(el) {
162 return el.host && el !== document && el.host.nodeType && el.host !== el ? el.host : el.parentNode;
163 }
164 function closest( /**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx, includeCTX) {
165 if (el) {
166 ctx = ctx || document;

Callers 2

closestFunction · 0.70
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…