MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / getOffsetLeft

Method getOffsetLeft

frontend/src/ts/utils/dom.ts:790–792  ·  view source on GitHub ↗

* Get the element's left offset relative to its offsetParent

()

Source from the content-addressed store, hash-verified

788 * Get the element's left offset relative to its offsetParent
789 */
790 getOffsetLeft(): number {
791 return this.native.offsetLeft;
792 }
793
794 /**
795 * Get the element's children wrapped in ElementWithUtils instances.

Callers 5

createHintsHtmlFunction · 0.80
joinOverlappingHintsFunction · 0.80
updateWordsInputPositionFunction · 0.80
scrollTapeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected