dist/react-tappable.js
function trapBubbledEvent(topLevelType, handlerBaseName, element) {
  if (!element) {
    return null;
  }
  var dispatch = isInteractiveTopLevelEventType(topLevelType) ? dispatchInteractiveEvent : dispatchEvent;

  addEventBubbleListener(element, handlerBaseName,
  // Check if interactive and wrap in interactiveUpdates
  dispatch.bind(null, topLevelType));
}
function trapBubbledEvent(topLevelType, handlerBaseName, element) {
  if (!element) {
    return null;
  }
  var dispatch = isInteractiveTopLevelEventType(topLevelType) ? dispatchInteractiveEvent : dispatchEvent;

  addEventBubbleListener(element, handlerBaseName,
  // Check if interactive and wrap in interactiveUpdates
  dispatch.bind(null, topLevelType));
}
function trapBubbledEvent ( topLevelType , handlerBaseName , element ) { if ( ! element ) { return null ; } var dispatch = isInteractiveTopLevelEventType ( topLevelType ) ? dispatchInteractiveEvent : dispatchEvent ; addEventBubbleListener ( element , handlerBaseName , // Check if interactive and wrap in interactiveUpdates dispatch . bind ( null , topLevelType ) ) ; }
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 function which will forcefully
remove the listener.
@internal
Traps top - level events by using event bubbling .