MCPcopy Index your code
hub / github.com/shipshapecode/tether / removeUtilElements

Function removeUtilElements

src/js/utils/bounds.js:145–150  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

143}
144
145export function removeUtilElements(body) {
146 if (zeroElement && zeroElement?.parentNode === body) {
147 body.removeChild(zeroElement);
148 }
149 zeroElement = null;
150}
151
152/**
153 * Same as native getBoundingClientRect, except it takes into account parent <frame> offsets

Callers 2

bounds.spec.jsFile · 0.90
destroyMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…