MCPcopy Create free account
hub / github.com/breck7/scroll / delayBlurEvent

Function delayBlurEvent

external/.scrollLibs.js:4635–4643  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

4633 }
4634
4635 function delayBlurEvent(cm) {
4636 cm.state.delayingBlurEvent = true
4637 setTimeout(function () {
4638 if (cm.state.delayingBlurEvent) {
4639 cm.state.delayingBlurEvent = false
4640 onBlur(cm)
4641 }
4642 }, 100)
4643 }
4644
4645 function onFocus(cm, e) {
4646 if (cm.state.delayingBlurEvent) {

Callers 2

onMouseDownFunction · 0.85
leftButtonStartDragFunction · 0.85

Calls 1

onBlurFunction · 0.85

Tested by

no test coverage detected