code: function onKey(key, event, target, callback, options) {
      return on(event, target, e => {
          if (!key) {
              // We call back for every key if there's no specific key
              callback(e);
          } else if (key === e.key || key === e.keyCode) {
              // Otherwise we call back only if the key matches
              callback(e);
          }
      }, options);
  }
docs: eslint-disable-next-line max-params