MCPcopy Create free account
hub / github.com/microsoft/SandDance / hasQueuedDiscreteEvents

Function hasQueuedDiscreteEvents

docs/external/js/react-dom.development.js:3814–3816  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3812
3813 var queuedExplicitHydrationTargets = [];
3814 function hasQueuedDiscreteEvents() {
3815 return queuedDiscreteEvents.length > 0;
3816 }
3817 var discreteReplayableEvents = [TOP_MOUSE_DOWN, TOP_MOUSE_UP, TOP_TOUCH_CANCEL, TOP_TOUCH_END, TOP_TOUCH_START, TOP_AUX_CLICK, TOP_DOUBLE_CLICK, TOP_POINTER_CANCEL, TOP_POINTER_DOWN, TOP_POINTER_UP, TOP_DRAG_END, TOP_DRAG_START, TOP_DROP, TOP_COMPOSITION_END, TOP_COMPOSITION_START, TOP_KEY_DOWN, TOP_KEY_PRESS, TOP_KEY_UP, TOP_INPUT, TOP_TEXT_INPUT, TOP_CLOSE, TOP_CANCEL, TOP_COPY, TOP_CUT, TOP_PASTE, TOP_CLICK, TOP_CHANGE, TOP_CONTEXT_MENU, TOP_RESET, TOP_SUBMIT];
3818 var continuousReplayableEvents = [TOP_FOCUS, TOP_BLUR, TOP_DRAG_ENTER, TOP_DRAG_LEAVE, TOP_MOUSE_OVER, TOP_MOUSE_OUT, TOP_POINTER_OVER, TOP_POINTER_OUT, TOP_GOT_POINTER_CAPTURE, TOP_LOST_POINTER_CAPTURE];
3819 function isReplayableDiscreteEvent(eventType) {

Callers 1

dispatchEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected