listen(target, type, listener, options) {
    if (!this.bindingMap_) {
      return;
    }

    const binding =
        new shaka.util.EventManager.Binding_(target, type, listener, options);
    this.bindingMap_.push(type, binding);
  }
Attaches an event listener to an event target.
@param {EventTarget} target The event target.
@param {string} type The event type.
@param {shaka.util.EventManager.ListenerType} listener The event listener.
@param {(boolean|!AddEventListenerOptions)=} options An object that
   specifies characteristics about the event listener.
   The passive option, if true, indicates that this function will never
   call preventDefault(), which improves scrolling performance.
@export