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

Function handler

codebase/sources/dhtmlxscheduler.js:14397–14411  ·  view source on GitHub ↗
(diff)

Source from the content-addressed store, hash-verified

14395 var css_texts = ["left:1px;top:4px;position:absolute;", "left:auto; right:1px;top:4px;position:absolute;"];
14396 var diffs = [-1, 1];
14397 var handler = function(diff) {
14398 return function() {
14399 if (conf.sync) {
14400 var calendars = scheduler2._synced_minicalendars;
14401 for (var k = 0; k < calendars.length; k++) {
14402 move_minicalendar_date(calendars[k], diff);
14403 }
14404 } else {
14405 if (scheduler2.config.rtl) {
14406 diff = -diff;
14407 }
14408 move_minicalendar_date(d, diff);
14409 }
14410 };
14411 };
14412 var labels = [scheduler2.locale.labels.prev, scheduler2.locale.labels.next];
14413 for (var j = 0; j < 2; j++) {
14414 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