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

Function setExportSizes

codebase/sources/dhtmlxscheduler.js:21616–21626  ·  view source on GitHub ↗
(size, initialSizes)

Source from the content-addressed store, hash-verified

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";
21619 scheduler3.xy.nav_height = 0;
21620 scheduler3.xy.scroll_width = 0;
21621 var timeline = getTimeline();
21622 if (initialSizes.timeline_scrollable || initialSizes.timeline_smart_rendering) {
21623 timeline.scrollable = false;
21624 timeline.smart_rendering = false;
21625 }
21626 }
21627 function setInitialSizes(initialSizes) {
21628 scheduler3.xy.scroll_width = initialSizes.scroll_width;
21629 scheduler3.xy.nav_height = initialSizes.nav_height;

Callers 1

add_export_methodsFunction · 0.70

Calls 1

getTimelineFunction · 0.70

Tested by

no test coverage detected