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

Function tryShowNow

codebase/sources/dhtmlxscheduler.es.js:21155–21164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21153 return;
21154 }
21155 const tryShowNow = function() {
21156 if (scheduler2.$destroyed) {
21157 return;
21158 }
21159 if (scheduler2.getEvent(eventId)) {
21160 scheduler2.showEvent(eventId);
21161 return true;
21162 }
21163 return false;
21164 };
21165 if (tryShowNow()) {
21166 return;
21167 }

Callers 1

showEventWhenPossibleFunction · 0.70

Calls 2

getEventMethod · 0.65
showEventMethod · 0.65

Tested by

no test coverage detected