src/utils/vnode.js
function addComponentNodeListener (node, eventName, handler) {
  /* istanbul ignore next */
  if (!node.componentOptions.listeners) {
    node.componentOptions.listeners = {};
  }

  mergeVNodeListeners(node.componentOptions.listeners, eventName, handler);
}
function addComponentNodeListener (node, eventName, handler) {
  /* istanbul ignore next */
  if (!node.componentOptions.listeners) {
    node.componentOptions.listeners = {};
  }

  mergeVNodeListeners(node.componentOptions.listeners, eventName, handler);
}
function addComponentNodeListener ( node , eventName , handler ) { /* istanbul ignore next */ if ( ! node . componentOptions . listeners ) { node . componentOptions . listeners = { } ; } mergeVNodeListeners ( node . componentOptions . listeners , eventName , handler ) ; }
Adds a listener to a Vue component vnode.
Adds a listener to a Vue component vnode .