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

Function modality

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

Source from the content-addressed store, hash-verified

8675 scheduler2.event(document, "keydown", modal_key, true);
8676 }
8677 function modality(mode) {
8678 if (!modality.cover) {
8679 modality.cover = document.createElement("div");
8680 scheduler2.event(modality.cover, "keydown", modal_key);
8681 modality.cover.className = "dhx_modal_cover";
8682 document.body.appendChild(modality.cover);
8683 }
8684 modality.cover.style.display = mode ? "inline-block" : "none";
8685 }
8686 function button(text, classValue, result) {
8687 var buttonAriaAttrs = scheduler2._waiAria.messageButtonAttrString(text);
8688 var name = (classValue || "").toLowerCase().replace(/ /g, "_");

Callers 2

_createBoxFunction · 0.70
messageFunction · 0.70

Calls 1

eventMethod · 0.65

Tested by

no test coverage detected