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

Function trapBubbledEvent

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

* Traps top-level events by using event bubbling. * * @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 fu

(topLevelType, handlerBaseName, element)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

listenToFunction · 0.85
setInitialProperties$1Function · 0.85
diffHydratedProperties$1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected