code: function (inputElem, listener) {
  
              util.addEvent(inputElem, "input", listener);
              inputElem.onpaste = listener;
              inputElem.ondrop = listener;
  
              util.addEvent(inputElem, "keypress", listener);
              util.addEvent(inputElem, "keydown", listener);
          }
docs: The other legal value is "manual" Adds event listeners to elements