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

Function handler

codebase/sources/dhtmlxscheduler.es.js:14393–14407  ·  view source on GitHub ↗
(diff)

Source from the content-addressed store, hash-verified

14391 var css_texts = ["left:1px;top:4px;position:absolute;", "left:auto; right:1px;top:4px;position:absolute;"];
14392 var diffs = [-1, 1];
14393 var handler = function(diff) {
14394 return function() {
14395 if (conf.sync) {
14396 var calendars = scheduler2._synced_minicalendars;
14397 for (var k = 0; k < calendars.length; k++) {
14398 move_minicalendar_date(calendars[k], diff);
14399 }
14400 } else {
14401 if (scheduler2.config.rtl) {
14402 diff = -diff;
14403 }
14404 move_minicalendar_date(d, diff);
14405 }
14406 };
14407 };
14408 var labels = [scheduler2.locale.labels.prev, scheduler2.locale.labels.next];
14409 for (var j = 0; j < 2; j++) {
14410 var arrow = document.createElement("div");

Callers 3

extend$6Function · 0.70
_notifyStateChangeMethod · 0.70
minicalFunction · 0.70

Calls 1

move_minicalendar_dateFunction · 0.70

Tested by

no test coverage detected