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

Function getScope

codebase/sources/dhtmlxscheduler.es.js:12899–12906  ·  view source on GitHub ↗
(mode)

Source from the content-addressed store, hash-verified

12897 }
12898 };
12899 function getScope(mode) {
12900 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 };
12901 var searchMap = {};
12902 for (var i in scopes)
12903 searchMap[i.toLowerCase()] = scopes[i];
12904 mode = (mode + "").toLowerCase();
12905 return searchMap[mode] || scopes.scheduler;
12906 }
12907 scheduler2.$keyboardNavigation = {};
12908 scheduler2._compose = function() {
12909 var parts = Array.prototype.slice.call(arguments, 0);

Callers 1

key_navFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected