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

Function getParentOrHost

modular/sortable.complete.esm.js:155–157  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

153 return false;
154}
155function getParentOrHost(el) {
156 return el.host && el !== document && el.host.nodeType && el.host !== el ? el.host : el.parentNode;
157}
158function closest( /**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx, includeCTX) {
159 if (el) {
160 ctx = ctx || document;

Callers 2

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