MCPcopy Index your code
hub / github.com/DHTMLX/gantt / delayBlurEvent

Function delayBlurEvent

samples/common/codehighlight/codemirror.js:3295–3301  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

3293 }
3294
3295 function delayBlurEvent(cm) {
3296 cm.state.delayingBlurEvent = true;
3297 setTimeout(function () { if (cm.state.delayingBlurEvent) {
3298 cm.state.delayingBlurEvent = false;
3299 if (cm.state.focused) { onBlur(cm); }
3300 } }, 100);
3301 }
3302
3303 function onFocus(cm, e) {
3304 if (cm.state.delayingBlurEvent && !cm.state.draggingText) { cm.state.delayingBlurEvent = false; }

Callers 3

onMouseDownFunction · 0.85
leftButtonStartDragFunction · 0.85
leftButtonSelectFunction · 0.85

Calls 1

onBlurFunction · 0.85

Tested by

no test coverage detected