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

Function modality

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

Source from the content-addressed store, hash-verified

8679 scheduler2.event(document, "keydown", modal_key, true);
8680 }
8681 function modality(mode) {
8682 if (!modality.cover) {
8683 modality.cover = document.createElement("div");
8684 scheduler2.event(modality.cover, "keydown", modal_key);
8685 modality.cover.className = "dhx_modal_cover";
8686 document.body.appendChild(modality.cover);
8687 }
8688 modality.cover.style.display = mode ? "inline-block" : "none";
8689 }
8690 function button(text, classValue, result) {
8691 var buttonAriaAttrs = scheduler2._waiAria.messageButtonAttrString(text);
8692 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