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

Function getScope

codebase/sources/dhtmlxscheduler.js:12903–12910  ·  view source on GitHub ↗
(mode)

Source from the content-addressed store, hash-verified

12901 }
12902 };
12903 function getScope(mode) {
12904 var scopes = { minicalButton: scheduler2.$keyboardNavigation.MinicalButton, minicalDate: scheduler2.$keyboardNavigation.MinicalCell, scheduler: scheduler2.$keyboardNavigation.SchedulerNode, dataArea: scheduler2.$keyboardNavigation.DataArea, timeSlot: scheduler2.$keyboardNavigation.TimeSlot, event: scheduler2.$keyboardNavigation.Event };
12905 var searchMap = {};
12906 for (var i in scopes)
12907 searchMap[i.toLowerCase()] = scopes[i];
12908 mode = (mode + "").toLowerCase();
12909 return searchMap[mode] || scopes.scheduler;
12910 }
12911 scheduler2.$keyboardNavigation = {};
12912 scheduler2._compose = function() {
12913 var parts = Array.prototype.slice.call(arguments, 0);

Callers 1

key_navFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected