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

Function getInitialSizes

codebase/sources/dhtmlxscheduler.js:21607–21615  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21605 return null;
21606 }
21607 function getInitialSizes() {
21608 var smartRendering = void 0, scrollable = void 0;
21609 var timeline = getTimeline();
21610 if (timeline) {
21611 scrollable = timeline.scrollable;
21612 smartRendering = timeline.smart_rendering;
21613 }
21614 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 };
21615 }
21616 function setExportSizes(size, initialSizes) {
21617 scheduler3._obj.style.width = size.x + "px";
21618 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