src/components/provider.js
function addListeners (node) {
  const model = findModel(node);
  // cache the input eventName.
  this._inputEventName = this._inputEventName || getInputEventName(node, model);

  onRenderUpdate.call(this, model);

  const { onInput, onBlur, onValidate } = createCommonHandlers(this);
  addVNodeListener(node, this._inputEventName, onInput);
  addVNodeListener(node, 'blur', onBlur);

  // add the validation listeners.
  this.normalizedEvents.forEach(evt => {
    addVNodeListener(node, evt, onValidate);
  });

  this.initialized = true;
}
function addListeners (node) {
  const model = findModel(node);
  // cache the input eventName.
  this._inputEventName = this._inputEventName || getInputEventName(node, model);

  onRenderUpdate.call(this, model);

  const { onInput, onBlur, onValidate } = createCommonHandlers(this);
  addVNodeListener(node, this._inputEventName, onInput);
  addVNodeListener(node, 'blur', onBlur);

  // add the validation listeners.
  this.normalizedEvents.forEach(evt => {
    addVNodeListener(node, evt, onValidate);
  });

  this.initialized = true;
}
function addListeners ( node ) { const model = findModel ( node ) ; // cache the input eventName. this . _inputEventName = this . _inputEventName || getInputEventName ( node , model ) ; onRenderUpdate . call ( this , model ) ; const { onInput , onBlur , onValidate } = createCommonHandlers ( this ) ; addVNodeListener ( node , this . _inputEventName , onInput ) ; addVNodeListener ( node , 'blur' , onBlur ) ; // add the validation listeners. this . normalizedEvents . forEach ( evt => { addVNodeListener ( node , evt , onValidate ) ; } ) ; this . initialized = true ; }
Adds all plugin listeners to the vnode.
Adds all plugin listeners to the vnode .