MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / Ge

Function Ge

codebase/dhtmlxscheduler.es.js:1174–1181  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

1172 return console.error("Your browser is not supported"), null;
1173}
1174function Ge(e) {
1175 if (!e || !gt())
1176 return document.body;
1177 for (; e.parentNode && (e = e.parentNode); )
1178 if (e instanceof ShadowRoot)
1179 return e.host;
1180 return document.body;
1181}
1182const he = { getAbsoluteLeft: function(e) {
1183 return this.getOffset(e).left + (parseInt(window.getComputedStyle(e).paddingLeft, 10) || 0);
1184}, getAbsoluteTop: function(e) {

Callers 1

Calls 1

gtFunction · 0.70

Tested by

no test coverage detected