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

Function button

codebase/sources/dhtmlxscheduler.js:8690–8695  ·  view source on GitHub ↗
(text, classValue, result)

Source from the content-addressed store, hash-verified

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, "_");
8693 var buttonCss = `scheduler_${name}_button dhtmlx_${name}_button`;
8694 return `<div ${buttonAriaAttrs} class='scheduler_popup_button dhtmlx_popup_button ${buttonCss}' data-result='${result}' result='${result}' ><div>${text}</div></div>`;
8695 }
8696 function info(text) {
8697 if (!messageBox.area) {
8698 messageBox.area = document.createElement("div");

Callers 1

_boxStructureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected