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

Function setInitialSizes

codebase/sources/dhtmlxscheduler.es.js:21623–21633  ·  view source on GitHub ↗
(initialSizes)

Source from the content-addressed store, hash-verified

21621 }
21622 }
21623 function setInitialSizes(initialSizes) {
21624 scheduler3.xy.scroll_width = initialSizes.scroll_width;
21625 scheduler3.xy.nav_height = initialSizes.nav_height;
21626 scheduler3._obj.style.width = initialSizes.style_width;
21627 scheduler3._obj.style.height = initialSizes.style_height;
21628 var timeline = getTimeline();
21629 if (initialSizes.timeline_scrollable || initialSizes.timeline_smart_rendering) {
21630 timeline.scrollable = initialSizes.timeline_scrollable;
21631 timeline.smart_rendering = initialSizes.timeline_smart_rendering;
21632 }
21633 }
21634 scheduler3._export_html = function(obj) {
21635 var initialSizes = getInitialSizes();
21636 var size = scheduler3._get_export_size(obj.format, obj.orientation, obj.zoom, obj.dpi, obj.header, obj.footer, obj.scales);

Callers 1

add_export_methodsFunction · 0.70

Calls 1

getTimelineFunction · 0.70

Tested by

no test coverage detected