function trapBubbledEvent(topLevelType, handlerBaseName, element) {
  EventListener.listen(
    element,
    handlerBaseName,
    ReactEventEmitter.TopLevelCallbackCreator.createTopLevelCallback(
      topLevelType
    )
  );
}
Traps top-level events by using event bubbling.

@param {string} topLevelType Record from `EventConstants`.
@param {string} handlerBaseName Event name (e.g. "click").
@param {DOMEventTarget} element Element on which to attach listener.
@internal