MCPcopy Create free account
hub / github.com/JackPu/freleap.github.io / trapCapturedEvent

Function trapCapturedEvent

react-core-loading-spinner/bundle.js:14332–14337  ·  view source on GitHub ↗

* Traps a top-level event by using event capturing. * * @param {string} topLevelType Record from `BrowserEventConstants`. * @param {string} handlerBaseName Event name (e.g. "click"). * @param {object} element Element on which to attach listener. * @return {?object} An object with a remove

(topLevelType, handlerBaseName, element)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

listenToFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected