MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / offset

Method offset

lib/pops/src/utils/PopsDOMUtils.ts:1469–1479  ·  view source on GitHub ↗

* 实现jQuery中的$().offset(); * @param element * @param calcScroll 计算滚动距离

(element: HTMLElement, calcScroll: boolean = true)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

calcToolTipPositionMethod · 0.45
getOffsetFunction · 0.45

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected