MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / getRect

Function getRect

static/js/codemirror/codemirror.js:5025–5027  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

5023 }
5024
5025 function getRect(node) {
5026 return node.getBoundingClientRect();
5027 }
5028 CodeMirror.replaceGetRect = function(f) { getRect = f; };
5029
5030 // FEATURE DETECTION

Callers 10

compensateForHScrollFunction · 0.85
updateDisplayInnerFunction · 0.85
updateSelectionFunction · 0.85
measureLineInnerFunction · 0.85
intoCoordSystemFunction · 0.85
posFromMouseFunction · 0.85
onMouseDownFunction · 0.85
clickInGutterFunction · 0.85
scrollCursorIntoViewFunction · 0.85
codemirror.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected