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

Function isAttachedNode

codebase/sources/dhtmlxscheduler.js:1838–1843  ·  view source on GitHub ↗
(container)

Source from the content-addressed store, hash-verified

1836 }
1837 function extend$k(scheduler2) {
1838 function isAttachedNode(container) {
1839 if (container.isConnected !== void 0) {
1840 return container.isConnected;
1841 }
1842 return document.body.contains(container);
1843 }
1844 function getWindowSize(window2) {
1845 return { w: window2.innerWidth || document.documentElement.clientWidth, h: window2.innerHeight || document.documentElement.clientHeight };
1846 }

Callers 2

listenWindowResizeFunction · 0.70
triggerSchedulerResizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected