MCPcopy Index your code
hub / github.com/csev/py4e / widgetHeight

Function widgetHeight

tools/pythonauto/static/codemirrorepl/codemirror.js:5464–5469  ·  view source on GitHub ↗
(widget)

Source from the content-addressed store, hash-verified

5462 };
5463
5464 function widgetHeight(widget) {
5465 if (widget.height != null) return widget.height;
5466 if (!contains(document.body, widget.node))
5467 removeChildrenAndAdd(widget.cm.display.measure, elt("div", [widget.node], null, "position: relative"));
5468 return widget.height = widget.node.offsetHeight;
5469 }
5470
5471 function addLineWidget(cm, handle, node, options) {
5472 var widget = new LineWidget(cm, node, options);

Callers 3

intoCoordSystemFunction · 0.70
codemirror.jsFile · 0.70
addLineWidgetFunction · 0.70

Calls 3

containsFunction · 0.70
removeChildrenAndAddFunction · 0.70
eltFunction · 0.70

Tested by

no test coverage detected