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

Function getInitialSizes

codebase/sources/dhtmlxscheduler.es.js:21603–21611  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21601 return null;
21602 }
21603 function getInitialSizes() {
21604 var smartRendering = void 0, scrollable = void 0;
21605 var timeline = getTimeline();
21606 if (timeline) {
21607 scrollable = timeline.scrollable;
21608 smartRendering = timeline.smart_rendering;
21609 }
21610 return { nav_height: scheduler3.xy.nav_height, scroll_width: scheduler3.xy.scroll_width, style_width: scheduler3._obj.style.width, style_height: scheduler3._obj.style.height, timeline_scrollable: scrollable, timeline_smart_rendering: smartRendering };
21611 }
21612 function setExportSizes(size, initialSizes) {
21613 scheduler3._obj.style.width = size.x + "px";
21614 scheduler3._obj.style.height = size.y + "px";

Callers 1

add_export_methodsFunction · 0.70

Calls 1

getTimelineFunction · 0.70

Tested by

no test coverage detected