MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / observers.js

File observers.js

host/dom/src/main/observers.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/* Intersection / Resize / Mutation observers; each entry fires through `ctx.pushEvent`. */
2
3export default ({ node, intersectionObservers, resizeObservers, mutationObservers }, { pushEvent, emitError }) => ({
4 /* Options: {root_handle?, rootMargin?, threshold?}. Event detail: {msg, target_handle, intersecting, ratio, x, y, w, h}. */

Callers

nothing calls this directly

Calls 5

nodeFunction · 0.85
emitErrorFunction · 0.85
pushMethod · 0.80
pushEventFunction · 0.50
parseMethod · 0.45

Tested by

no test coverage detected