All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.olvind.mui.std.GlobalEventHandlers.scala Maven / Gradle / Ivy

The newest version!
package com.olvind.mui.std

import org.scalajs.dom.AnimationEvent
import org.scalajs.dom.CompositionEvent
import org.scalajs.dom.DragEvent
import org.scalajs.dom.ErrorEvent
import org.scalajs.dom.FocusEvent
import org.scalajs.dom.KeyboardEvent
import org.scalajs.dom.MouseEvent
import org.scalajs.dom.PointerEvent
import org.scalajs.dom.ProgressEvent
import org.scalajs.dom.TouchEvent
import org.scalajs.dom.TransitionEvent
import org.scalajs.dom.WheelEvent
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

@js.native
trait GlobalEventHandlers extends StObject {
  
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragexit")
  def addEventListener(
    `type`: "dragexit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_progress")
  def addEventListener(`type`: "progress", listener: js.ThisFunction1[/* this */ this.type, /* ev */ ProgressEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_close")
  def addEventListener(
    `type`: "close",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_gotpointercapture")
  def addEventListener(
    `type`: "gotpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchmove")
  def addEventListener(`type`: "touchmove", listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_error")
  def addEventListener(`type`: "error", listener: js.ThisFunction1[/* this */ this.type, /* ev */ ErrorEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_beforeinput")
  def addEventListener(`type`: "beforeinput", listener: js.ThisFunction1[/* this */ this.type, /* ev */ InputEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerenter")
  def addEventListener(
    `type`: "pointerenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_focus")
  def addEventListener(`type`: "focus", listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_blur")
  def addEventListener(`type`: "blur", listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_compositionupdate")
  def addEventListener(
    `type`: "compositionupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragenter")
  def addEventListener(`type`: "dragenter", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mousemove")
  def addEventListener(`type`: "mousemove", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_select")
  def addEventListener(
    `type`: "select",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragover")
  def addEventListener(`type`: "dragover", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_durationchange")
  def addEventListener(
    `type`: "durationchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitionstart")
  def addEventListener(
    `type`: "transitionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_seeking")
  def addEventListener(
    `type`: "seeking",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_toggle")
  def addEventListener(
    `type`: "toggle",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchend")
  def addEventListener(`type`: "touchend", listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseup")
  def addEventListener(`type`: "mouseup", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_focusin")
  def addEventListener(`type`: "focusin", listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_keypress")
  def addEventListener(`type`: "keypress", listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseleave")
  def addEventListener(`type`: "mouseleave", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_canplaythrough")
  def addEventListener(
    `type`: "canplaythrough",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseout")
  def addEventListener(`type`: "mouseout", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_focusout")
  def addEventListener(`type`: "focusout", listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_drag")
  def addEventListener(`type`: "drag", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointercancel")
  def addEventListener(
    `type`: "pointercancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_securitypolicyviolation")
  def addEventListener(
    `type`: "securitypolicyviolation",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ SecurityPolicyViolationEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_compositionend")
  def addEventListener(
    `type`: "compositionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mousedown")
  def addEventListener(`type`: "mousedown", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_lostpointercapture")
  def addEventListener(
    `type`: "lostpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationstart")
  def addEventListener(
    `type`: "animationstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]
  ): Unit = js.native
  /* standard dom */
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_abort")
  def addEventListener(
    `type`: "abort",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseenter")
  def addEventListener(`type`: "mouseenter", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragend")
  def addEventListener(`type`: "dragend", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_cancel")
  def addEventListener(
    `type`: "cancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_playing")
  def addEventListener(
    `type`: "playing",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_invalid")
  def addEventListener(
    `type`: "invalid",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_ended")
  def addEventListener(
    `type`: "ended",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerout")
  def addEventListener(`type`: "pointerout", listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_emptied")
  def addEventListener(
    `type`: "emptied",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_drop")
  def addEventListener(`type`: "drop", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseover")
  def addEventListener(`type`: "mouseover", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerleave")
  def addEventListener(
    `type`: "pointerleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragstart")
  def addEventListener(`type`: "dragstart", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_timeupdate")
  def addEventListener(
    `type`: "timeupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_input")
  def addEventListener(
    `type`: "input",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_submit")
  def addEventListener(
    `type`: "submit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_auxclick")
  def addEventListener(`type`: "auxclick", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_seeked")
  def addEventListener(
    `type`: "seeked",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationcancel")
  def addEventListener(
    `type`: "animationcancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_click")
  def addEventListener(`type`: "click", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerover")
  def addEventListener(
    `type`: "pointerover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_load")
  def addEventListener(
    `type`: "load",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_selectionchange")
  def addEventListener(
    `type`: "selectionchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragleave")
  def addEventListener(`type`: "dragleave", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_volumechange")
  def addEventListener(
    `type`: "volumechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_play")
  def addEventListener(
    `type`: "play",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_compositionstart")
  def addEventListener(
    `type`: "compositionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationiteration")
  def addEventListener(
    `type`: "animationiteration",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_loadeddata")
  def addEventListener(
    `type`: "loadeddata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_reset")
  def addEventListener(
    `type`: "reset",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitionend")
  def addEventListener(
    `type`: "transitionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_resize")
  def addEventListener(
    `type`: "resize",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pause")
  def addEventListener(
    `type`: "pause",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_stalled")
  def addEventListener(
    `type`: "stalled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_keyup")
  def addEventListener(`type`: "keyup", listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_contextmenu")
  def addEventListener(`type`: "contextmenu", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerdown")
  def addEventListener(
    `type`: "pointerdown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_canplay")
  def addEventListener(
    `type`: "canplay",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_loadstart")
  def addEventListener(
    `type`: "loadstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_scroll")
  def addEventListener(
    `type`: "scroll",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_waiting")
  def addEventListener(
    `type`: "waiting",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerup")
  def addEventListener(`type`: "pointerup", listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationend")
  def addEventListener(
    `type`: "animationend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchstart")
  def addEventListener(`type`: "touchstart", listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_wheel")
  def addEventListener(`type`: "wheel", listener: js.ThisFunction1[/* this */ this.type, /* ev */ WheelEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_loadedmetadata")
  def addEventListener(
    `type`: "loadedmetadata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_ratechange")
  def addEventListener(
    `type`: "ratechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_cuechange")
  def addEventListener(
    `type`: "cuechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitionrun")
  def addEventListener(
    `type`: "transitionrun",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_change")
  def addEventListener(
    `type`: "change",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchcancel")
  def addEventListener(`type`: "touchcancel", listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dblclick")
  def addEventListener(`type`: "dblclick", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitioncancel")
  def addEventListener(
    `type`: "transitioncancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_suspend")
  def addEventListener(
    `type`: "suspend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointermove")
  def addEventListener(
    `type`: "pointermove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_selectstart")
  def addEventListener(
    `type`: "selectstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_keydown")
  def addEventListener(`type`: "keydown", listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseover")
  def addEventListener(
    `type`: "mouseover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_beforeinput")
  def addEventListener(
    `type`: "beforeinput",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ InputEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_selectionchange")
  def addEventListener(
    `type`: "selectionchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchend")
  def addEventListener(
    `type`: "touchend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragexit")
  def addEventListener(
    `type`: "dragexit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragend")
  def addEventListener(
    `type`: "dragend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_loadstart")
  def addEventListener(
    `type`: "loadstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_submit")
  def addEventListener(
    `type`: "submit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_input")
  def addEventListener(
    `type`: "input",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseenter")
  def addEventListener(
    `type`: "mouseenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerover")
  def addEventListener(
    `type`: "pointerover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mousedown")
  def addEventListener(
    `type`: "mousedown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_play")
  def addEventListener(
    `type`: "play",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_gotpointercapture")
  def addEventListener(
    `type`: "gotpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_compositionstart")
  def addEventListener(
    `type`: "compositionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_stalled")
  def addEventListener(
    `type`: "stalled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_focusout")
  def addEventListener(
    `type`: "focusout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitionrun")
  def addEventListener(
    `type`: "transitionrun",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mousemove")
  def addEventListener(
    `type`: "mousemove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseleave")
  def addEventListener(
    `type`: "mouseleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitionstart")
  def addEventListener(
    `type`: "transitionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_drag")
  def addEventListener(
    `type`: "drag",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_blur")
  def addEventListener(
    `type`: "blur",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_focusin")
  def addEventListener(
    `type`: "focusin",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_change")
  def addEventListener(
    `type`: "change",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pause")
  def addEventListener(
    `type`: "pause",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_selectstart")
  def addEventListener(
    `type`: "selectstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_focus")
  def addEventListener(
    `type`: "focus",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerdown")
  def addEventListener(
    `type`: "pointerdown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_resize")
  def addEventListener(
    `type`: "resize",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerout")
  def addEventListener(
    `type`: "pointerout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerenter")
  def addEventListener(
    `type`: "pointerenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_toggle")
  def addEventListener(
    `type`: "toggle",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_load")
  def addEventListener(
    `type`: "load",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_ratechange")
  def addEventListener(
    `type`: "ratechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_reset")
  def addEventListener(
    `type`: "reset",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_invalid")
  def addEventListener(
    `type`: "invalid",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_canplay")
  def addEventListener(
    `type`: "canplay",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_loadedmetadata")
  def addEventListener(
    `type`: "loadedmetadata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_wheel")
  def addEventListener(
    `type`: "wheel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ WheelEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_volumechange")
  def addEventListener(
    `type`: "volumechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerleave")
  def addEventListener(
    `type`: "pointerleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_suspend")
  def addEventListener(
    `type`: "suspend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerup")
  def addEventListener(
    `type`: "pointerup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_loadeddata")
  def addEventListener(
    `type`: "loadeddata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchcancel")
  def addEventListener(
    `type`: "touchcancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_timeupdate")
  def addEventListener(
    `type`: "timeupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_auxclick")
  def addEventListener(
    `type`: "auxclick",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_close")
  def addEventListener(
    `type`: "close",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointercancel")
  def addEventListener(
    `type`: "pointercancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragover")
  def addEventListener(
    `type`: "dragover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_compositionend")
  def addEventListener(
    `type`: "compositionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_keydown")
  def addEventListener(
    `type`: "keydown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseup")
  def addEventListener(
    `type`: "mouseup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_seeked")
  def addEventListener(
    `type`: "seeked",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitioncancel")
  def addEventListener(
    `type`: "transitioncancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_drop")
  def addEventListener(
    `type`: "drop",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchmove")
  def addEventListener(
    `type`: "touchmove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointermove")
  def addEventListener(
    `type`: "pointermove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_progress")
  def addEventListener(
    `type`: "progress",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ ProgressEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_playing")
  def addEventListener(
    `type`: "playing",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_canplaythrough")
  def addEventListener(
    `type`: "canplaythrough",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_emptied")
  def addEventListener(
    `type`: "emptied",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_compositionupdate")
  def addEventListener(
    `type`: "compositionupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_ended")
  def addEventListener(
    `type`: "ended",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_waiting")
  def addEventListener(
    `type`: "waiting",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragleave")
  def addEventListener(
    `type`: "dragleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_error")
  def addEventListener(
    `type`: "error",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ ErrorEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_scroll")
  def addEventListener(
    `type`: "scroll",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_lostpointercapture")
  def addEventListener(
    `type`: "lostpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_keyup")
  def addEventListener(
    `type`: "keyup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationiteration")
  def addEventListener(
    `type`: "animationiteration",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_contextmenu")
  def addEventListener(
    `type`: "contextmenu",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationend")
  def addEventListener(
    `type`: "animationend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_keypress")
  def addEventListener(
    `type`: "keypress",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_click")
  def addEventListener(
    `type`: "click",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_seeking")
  def addEventListener(
    `type`: "seeking",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dblclick")
  def addEventListener(
    `type`: "dblclick",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_abort")
  def addEventListener(
    `type`: "abort",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationstart")
  def addEventListener(
    `type`: "animationstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_cuechange")
  def addEventListener(
    `type`: "cuechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationcancel")
  def addEventListener(
    `type`: "animationcancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseout")
  def addEventListener(
    `type`: "mouseout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitionend")
  def addEventListener(
    `type`: "transitionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_securitypolicyviolation")
  def addEventListener(
    `type`: "securitypolicyviolation",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ SecurityPolicyViolationEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchstart")
  def addEventListener(
    `type`: "touchstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_cancel")
  def addEventListener(
    `type`: "cancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_select")
  def addEventListener(
    `type`: "select",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragenter")
  def addEventListener(
    `type`: "dragenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_durationchange")
  def addEventListener(
    `type`: "durationchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragstart")
  def addEventListener(
    `type`: "dragstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragstart")
  def addEventListener(
    `type`: "dragstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_drop")
  def addEventListener(
    `type`: "drop",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_canplay")
  def addEventListener(
    `type`: "canplay",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_focusout")
  def addEventListener(
    `type`: "focusout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_auxclick")
  def addEventListener(
    `type`: "auxclick",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_selectionchange")
  def addEventListener(
    `type`: "selectionchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_wheel")
  def addEventListener(
    `type`: "wheel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ WheelEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerup")
  def addEventListener(
    `type`: "pointerup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_keypress")
  def addEventListener(
    `type`: "keypress",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_input")
  def addEventListener(
    `type`: "input",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_canplaythrough")
  def addEventListener(
    `type`: "canplaythrough",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_waiting")
  def addEventListener(
    `type`: "waiting",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_keyup")
  def addEventListener(
    `type`: "keyup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_durationchange")
  def addEventListener(
    `type`: "durationchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_scroll")
  def addEventListener(
    `type`: "scroll",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragexit")
  def addEventListener(
    `type`: "dragexit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_suspend")
  def addEventListener(
    `type`: "suspend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_load")
  def addEventListener(
    `type`: "load",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitionstart")
  def addEventListener(
    `type`: "transitionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_invalid")
  def addEventListener(
    `type`: "invalid",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_volumechange")
  def addEventListener(
    `type`: "volumechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitionend")
  def addEventListener(
    `type`: "transitionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointercancel")
  def addEventListener(
    `type`: "pointercancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerover")
  def addEventListener(
    `type`: "pointerover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_ratechange")
  def addEventListener(
    `type`: "ratechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragend")
  def addEventListener(
    `type`: "dragend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerout")
  def addEventListener(
    `type`: "pointerout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerdown")
  def addEventListener(
    `type`: "pointerdown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_play")
  def addEventListener(
    `type`: "play",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_keydown")
  def addEventListener(
    `type`: "keydown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_ended")
  def addEventListener(
    `type`: "ended",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_compositionend")
  def addEventListener(
    `type`: "compositionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_timeupdate")
  def addEventListener(
    `type`: "timeupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_drag")
  def addEventListener(
    `type`: "drag",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationstart")
  def addEventListener(
    `type`: "animationstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_error")
  def addEventListener(
    `type`: "error",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ ErrorEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_beforeinput")
  def addEventListener(
    `type`: "beforeinput",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ InputEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_loadstart")
  def addEventListener(
    `type`: "loadstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mousemove")
  def addEventListener(
    `type`: "mousemove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitionrun")
  def addEventListener(
    `type`: "transitionrun",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_toggle")
  def addEventListener(
    `type`: "toggle",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragover")
  def addEventListener(
    `type`: "dragover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_cancel")
  def addEventListener(
    `type`: "cancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_stalled")
  def addEventListener(
    `type`: "stalled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationcancel")
  def addEventListener(
    `type`: "animationcancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_playing")
  def addEventListener(
    `type`: "playing",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dblclick")
  def addEventListener(
    `type`: "dblclick",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_submit")
  def addEventListener(
    `type`: "submit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseleave")
  def addEventListener(
    `type`: "mouseleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationend")
  def addEventListener(
    `type`: "animationend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mousedown")
  def addEventListener(
    `type`: "mousedown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_animationiteration")
  def addEventListener(
    `type`: "animationiteration",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_select")
  def addEventListener(
    `type`: "select",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_change")
  def addEventListener(
    `type`: "change",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseover")
  def addEventListener(
    `type`: "mouseover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_contextmenu")
  def addEventListener(
    `type`: "contextmenu",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pause")
  def addEventListener(
    `type`: "pause",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchmove")
  def addEventListener(
    `type`: "touchmove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_seeking")
  def addEventListener(
    `type`: "seeking",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointermove")
  def addEventListener(
    `type`: "pointermove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_loadeddata")
  def addEventListener(
    `type`: "loadeddata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_gotpointercapture")
  def addEventListener(
    `type`: "gotpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_cuechange")
  def addEventListener(
    `type`: "cuechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_lostpointercapture")
  def addEventListener(
    `type`: "lostpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_reset")
  def addEventListener(
    `type`: "reset",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_focusin")
  def addEventListener(
    `type`: "focusin",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragleave")
  def addEventListener(
    `type`: "dragleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_emptied")
  def addEventListener(
    `type`: "emptied",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_selectstart")
  def addEventListener(
    `type`: "selectstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseout")
  def addEventListener(
    `type`: "mouseout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_dragenter")
  def addEventListener(
    `type`: "dragenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerenter")
  def addEventListener(
    `type`: "pointerenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_blur")
  def addEventListener(
    `type`: "blur",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pointerleave")
  def addEventListener(
    `type`: "pointerleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchend")
  def addEventListener(
    `type`: "touchend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_loadedmetadata")
  def addEventListener(
    `type`: "loadedmetadata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_seeked")
  def addEventListener(
    `type`: "seeked",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchcancel")
  def addEventListener(
    `type`: "touchcancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_touchstart")
  def addEventListener(
    `type`: "touchstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_abort")
  def addEventListener(
    `type`: "abort",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_progress")
  def addEventListener(
    `type`: "progress",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ ProgressEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_resize")
  def addEventListener(
    `type`: "resize",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_focus")
  def addEventListener(
    `type`: "focus",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_compositionstart")
  def addEventListener(
    `type`: "compositionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_click")
  def addEventListener(
    `type`: "click",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_transitioncancel")
  def addEventListener(
    `type`: "transitioncancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseup")
  def addEventListener(
    `type`: "mouseup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_close")
  def addEventListener(
    `type`: "close",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_securitypolicyviolation")
  def addEventListener(
    `type`: "securitypolicyviolation",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ SecurityPolicyViolationEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_mouseenter")
  def addEventListener(
    `type`: "mouseenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_compositionupdate")
  def addEventListener(
    `type`: "compositionupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: Boolean
  ): Unit = js.native
  /* standard dom */
  def addEventListener(`type`: java.lang.String, listener: EventListenerOrEventListenerObject): Unit = js.native
  def addEventListener(
    `type`: java.lang.String,
    listener: EventListenerOrEventListenerObject,
    options: AddEventListenerOptions
  ): Unit = js.native
  def addEventListener(`type`: java.lang.String, listener: EventListenerOrEventListenerObject, options: Boolean): Unit = js.native
  
  /**
    * Fires when the user aborts the download.
    * @param ev The event.
    */
  /* standard dom */
  var onabort: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onanimationcancel: (js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onanimationend: (js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onanimationiteration: (js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onanimationstart: (js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onauxclick: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /**
    * Fires when the object loses the input focus.
    * @param ev The focus event.
    */
  /* standard dom */
  var onblur: (js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any]) | Null = js.native
  
  /* standard dom */
  var oncancel: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when playback is possible, but would require further buffering.
    * @param ev The event.
    */
  /* standard dom */
  var oncanplay: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var oncanplaythrough: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Fires when the contents of the object or selection have changed.
    * @param ev The event.
    */
  /* standard dom */
  var onchange: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Fires when the user clicks the left mouse button on the object
    * @param ev The mouse event.
    */
  /* standard dom */
  var onclick: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onclose: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Fires when the user clicks the right mouse button in the client area, opening the context menu.
    * @param ev The mouse event.
    */
  /* standard dom */
  var oncontextmenu: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /* standard dom */
  var oncuechange: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Fires when the user double-clicks the object.
    * @param ev The mouse event.
    */
  /* standard dom */
  var ondblclick: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /**
    * Fires on the source object continuously during a drag operation.
    * @param ev The event.
    */
  /* standard dom */
  var ondrag: (js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]) | Null = js.native
  
  /**
    * Fires on the source object when the user releases the mouse at the close of a drag operation.
    * @param ev The event.
    */
  /* standard dom */
  var ondragend: (js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]) | Null = js.native
  
  /**
    * Fires on the target element when the user drags the object to a valid drop target.
    * @param ev The drag event.
    */
  /* standard dom */
  var ondragenter: (js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]) | Null = js.native
  
  /* standard dom */
  var ondragexit: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
    * @param ev The drag event.
    */
  /* standard dom */
  var ondragleave: (js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]) | Null = js.native
  
  /**
    * Fires on the target element continuously while the user drags the object over a valid drop target.
    * @param ev The event.
    */
  /* standard dom */
  var ondragover: (js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]) | Null = js.native
  
  /**
    * Fires on the source object when the user starts to drag a text selection or selected object.
    * @param ev The event.
    */
  /* standard dom */
  var ondragstart: (js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]) | Null = js.native
  
  /* standard dom */
  var ondrop: (js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]) | Null = js.native
  
  /**
    * Occurs when the duration attribute is updated.
    * @param ev The event.
    */
  /* standard dom */
  var ondurationchange: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when the media element is reset to its initial state.
    * @param ev The event.
    */
  /* standard dom */
  var onemptied: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when the end of playback is reached.
    * @param ev The event
    */
  /* standard dom */
  var onended: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Fires when an error occurs during object loading.
    * @param ev The event.
    */
  /* standard dom */
  var onerror: OnErrorEventHandler = js.native
  
  /**
    * Fires when the object receives focus.
    * @param ev The event.
    */
  /* standard dom */
  var onfocus: (js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any]) | Null = js.native
  
  /* standard dom */
  var ongotpointercapture: (js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]) | Null = js.native
  
  /* standard dom */
  var oninput: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var oninvalid: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Fires when the user presses a key.
    * @param ev The keyboard event
    */
  /* standard dom */
  var onkeydown: (js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any]) | Null = js.native
  
  /**
    * Fires when the user presses an alphanumeric key.
    * @param ev The event.
    */
  /* standard dom */
  var onkeypress: (js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any]) | Null = js.native
  
  /**
    * Fires when the user releases a key.
    * @param ev The keyboard event
    */
  /* standard dom */
  var onkeyup: (js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any]) | Null = js.native
  
  /**
    * Fires immediately after the browser loads the object.
    * @param ev The event.
    */
  /* standard dom */
  var onload: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when media data is loaded at the current playback position.
    * @param ev The event.
    */
  /* standard dom */
  var onloadeddata: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when the duration and dimensions of the media have been determined.
    * @param ev The event.
    */
  /* standard dom */
  var onloadedmetadata: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when Internet Explorer begins looking for media data.
    * @param ev The event.
    */
  /* standard dom */
  var onloadstart: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onlostpointercapture: (js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]) | Null = js.native
  
  /**
    * Fires when the user clicks the object with either mouse button.
    * @param ev The mouse event.
    */
  /* standard dom */
  var onmousedown: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onmouseenter: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onmouseleave: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /**
    * Fires when the user moves the mouse over the object.
    * @param ev The mouse event.
    */
  /* standard dom */
  var onmousemove: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /**
    * Fires when the user moves the mouse pointer outside the boundaries of the object.
    * @param ev The mouse event.
    */
  /* standard dom */
  var onmouseout: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /**
    * Fires when the user moves the mouse pointer into the object.
    * @param ev The mouse event.
    */
  /* standard dom */
  var onmouseover: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /**
    * Fires when the user releases a mouse button while the mouse is over the object.
    * @param ev The mouse event.
    */
  /* standard dom */
  var onmouseup: (js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]) | Null = js.native
  
  /**
    * Occurs when playback is paused.
    * @param ev The event.
    */
  /* standard dom */
  var onpause: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when the play method is requested.
    * @param ev The event.
    */
  /* standard dom */
  var onplay: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when the audio or video has started playing.
    * @param ev The event.
    */
  /* standard dom */
  var onplaying: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onpointercancel: (js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onpointerdown: (js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onpointerenter: (js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onpointerleave: (js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onpointermove: (js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onpointerout: (js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onpointerover: (js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onpointerup: (js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]) | Null = js.native
  
  /**
    * Occurs to indicate progress while downloading media data.
    * @param ev The event.
    */
  /* standard dom */
  var onprogress: (js.ThisFunction1[/* this */ this.type, /* ev */ ProgressEvent, Any]) | Null = js.native
  
  /**
    * Occurs when the playback rate is increased or decreased.
    * @param ev The event.
    */
  /* standard dom */
  var onratechange: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Fires when the user resets a form.
    * @param ev The event.
    */
  /* standard dom */
  var onreset: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onresize: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any]) | Null = js.native
  
  /**
    * Fires when the user repositions the scroll box in the scroll bar on the object.
    * @param ev The event.
    */
  /* standard dom */
  var onscroll: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onsecuritypolicyviolation: (js.ThisFunction1[/* this */ this.type, /* ev */ SecurityPolicyViolationEvent, Any]) | Null = js.native
  
  /**
    * Occurs when the seek operation ends.
    * @param ev The event.
    */
  /* standard dom */
  var onseeked: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when the current playback position is moved.
    * @param ev The event.
    */
  /* standard dom */
  var onseeking: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Fires when the current selection changes.
    * @param ev The event.
    */
  /* standard dom */
  var onselect: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onselectionchange: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onselectstart: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when the download has stopped.
    * @param ev The event.
    */
  /* standard dom */
  var onstalled: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onsubmit: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs if the load operation has been intentionally halted.
    * @param ev The event.
    */
  /* standard dom */
  var onsuspend: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs to indicate the current playback position.
    * @param ev The event.
    */
  /* standard dom */
  var ontimeupdate: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var ontoggle: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var ontouchcancel: js.UndefOr[(js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]) | Null] = js.native
  
  /* standard dom */
  var ontouchend: js.UndefOr[(js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]) | Null] = js.native
  
  /* standard dom */
  var ontouchmove: js.UndefOr[(js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]) | Null] = js.native
  
  /* standard dom */
  var ontouchstart: js.UndefOr[(js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]) | Null] = js.native
  
  /* standard dom */
  var ontransitioncancel: (js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]) | Null = js.native
  
  /* standard dom */
  var ontransitionend: (js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]) | Null = js.native
  
  /* standard dom */
  var ontransitionrun: (js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]) | Null = js.native
  
  /* standard dom */
  var ontransitionstart: (js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]) | Null = js.native
  
  /**
    * Occurs when the volume is changed, or playback is muted or unmuted.
    * @param ev The event.
    */
  /* standard dom */
  var onvolumechange: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /**
    * Occurs when playback stops because the next frame of a video resource is not available.
    * @param ev The event.
    */
  /* standard dom */
  var onwaiting: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onwheel: (js.ThisFunction1[/* this */ this.type, /* ev */ WheelEvent, Any]) | Null = js.native
  
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_canplaythrough")
  def removeEventListener(
    `type`: "canplaythrough",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_compositionupdate")
  def removeEventListener(
    `type`: "compositionupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_ratechange")
  def removeEventListener(
    `type`: "ratechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchend")
  def removeEventListener(`type`: "touchend", listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerup")
  def removeEventListener(`type`: "pointerup", listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointermove")
  def removeEventListener(
    `type`: "pointermove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_seeked")
  def removeEventListener(
    `type`: "seeked",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_play")
  def removeEventListener(
    `type`: "play",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_scroll")
  def removeEventListener(
    `type`: "scroll",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_lostpointercapture")
  def removeEventListener(
    `type`: "lostpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_canplay")
  def removeEventListener(
    `type`: "canplay",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_select")
  def removeEventListener(
    `type`: "select",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_compositionend")
  def removeEventListener(
    `type`: "compositionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_securitypolicyviolation")
  def removeEventListener(
    `type`: "securitypolicyviolation",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ SecurityPolicyViolationEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerdown")
  def removeEventListener(
    `type`: "pointerdown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerenter")
  def removeEventListener(
    `type`: "pointerenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragend")
  def removeEventListener(`type`: "dragend", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_toggle")
  def removeEventListener(
    `type`: "toggle",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_gotpointercapture")
  def removeEventListener(
    `type`: "gotpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerleave")
  def removeEventListener(
    `type`: "pointerleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragover")
  def removeEventListener(`type`: "dragover", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_selectionchange")
  def removeEventListener(
    `type`: "selectionchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_playing")
  def removeEventListener(
    `type`: "playing",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  /* standard dom */
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_abort")
  def removeEventListener(
    `type`: "abort",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_timeupdate")
  def removeEventListener(
    `type`: "timeupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_contextmenu")
  def removeEventListener(`type`: "contextmenu", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragenter")
  def removeEventListener(`type`: "dragenter", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitioncancel")
  def removeEventListener(
    `type`: "transitioncancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_loadeddata")
  def removeEventListener(
    `type`: "loadeddata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_progress")
  def removeEventListener(`type`: "progress", listener: js.ThisFunction1[/* this */ this.type, /* ev */ ProgressEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseup")
  def removeEventListener(`type`: "mouseup", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mousedown")
  def removeEventListener(`type`: "mousedown", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseout")
  def removeEventListener(`type`: "mouseout", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_submit")
  def removeEventListener(
    `type`: "submit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitionrun")
  def removeEventListener(
    `type`: "transitionrun",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchstart")
  def removeEventListener(`type`: "touchstart", listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mousemove")
  def removeEventListener(`type`: "mousemove", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationstart")
  def removeEventListener(
    `type`: "animationstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointercancel")
  def removeEventListener(
    `type`: "pointercancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pause")
  def removeEventListener(
    `type`: "pause",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_reset")
  def removeEventListener(
    `type`: "reset",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchmove")
  def removeEventListener(`type`: "touchmove", listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_focusin")
  def removeEventListener(`type`: "focusin", listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_resize")
  def removeEventListener(
    `type`: "resize",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_wheel")
  def removeEventListener(`type`: "wheel", listener: js.ThisFunction1[/* this */ this.type, /* ev */ WheelEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragleave")
  def removeEventListener(`type`: "dragleave", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_loadstart")
  def removeEventListener(
    `type`: "loadstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseover")
  def removeEventListener(`type`: "mouseover", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_compositionstart")
  def removeEventListener(
    `type`: "compositionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_keypress")
  def removeEventListener(`type`: "keypress", listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_drag")
  def removeEventListener(`type`: "drag", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_click")
  def removeEventListener(`type`: "click", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_auxclick")
  def removeEventListener(`type`: "auxclick", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragstart")
  def removeEventListener(`type`: "dragstart", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationend")
  def removeEventListener(
    `type`: "animationend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dblclick")
  def removeEventListener(`type`: "dblclick", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragexit")
  def removeEventListener(
    `type`: "dragexit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_close")
  def removeEventListener(
    `type`: "close",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_input")
  def removeEventListener(
    `type`: "input",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchcancel")
  def removeEventListener(`type`: "touchcancel", listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerout")
  def removeEventListener(`type`: "pointerout", listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_error")
  def removeEventListener(`type`: "error", listener: js.ThisFunction1[/* this */ this.type, /* ev */ ErrorEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_selectstart")
  def removeEventListener(
    `type`: "selectstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitionstart")
  def removeEventListener(
    `type`: "transitionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_waiting")
  def removeEventListener(
    `type`: "waiting",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_blur")
  def removeEventListener(`type`: "blur", listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_beforeinput")
  def removeEventListener(`type`: "beforeinput", listener: js.ThisFunction1[/* this */ this.type, /* ev */ InputEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_load")
  def removeEventListener(
    `type`: "load",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitionend")
  def removeEventListener(
    `type`: "transitionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_emptied")
  def removeEventListener(
    `type`: "emptied",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_seeking")
  def removeEventListener(
    `type`: "seeking",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseenter")
  def removeEventListener(`type`: "mouseenter", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_volumechange")
  def removeEventListener(
    `type`: "volumechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_keyup")
  def removeEventListener(`type`: "keyup", listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_suspend")
  def removeEventListener(
    `type`: "suspend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_focusout")
  def removeEventListener(`type`: "focusout", listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerover")
  def removeEventListener(
    `type`: "pointerover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_cancel")
  def removeEventListener(
    `type`: "cancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_durationchange")
  def removeEventListener(
    `type`: "durationchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_stalled")
  def removeEventListener(
    `type`: "stalled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_drop")
  def removeEventListener(`type`: "drop", listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_focus")
  def removeEventListener(`type`: "focus", listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_cuechange")
  def removeEventListener(
    `type`: "cuechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseleave")
  def removeEventListener(`type`: "mouseleave", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_loadedmetadata")
  def removeEventListener(
    `type`: "loadedmetadata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationcancel")
  def removeEventListener(
    `type`: "animationcancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_ended")
  def removeEventListener(
    `type`: "ended",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_invalid")
  def removeEventListener(
    `type`: "invalid",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationiteration")
  def removeEventListener(
    `type`: "animationiteration",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_change")
  def removeEventListener(
    `type`: "change",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_keydown")
  def removeEventListener(`type`: "keydown", listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseenter")
  def removeEventListener(
    `type`: "mouseenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitionrun")
  def removeEventListener(
    `type`: "transitionrun",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchstart")
  def removeEventListener(
    `type`: "touchstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_blur")
  def removeEventListener(
    `type`: "blur",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_timeupdate")
  def removeEventListener(
    `type`: "timeupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_cuechange")
  def removeEventListener(
    `type`: "cuechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_scroll")
  def removeEventListener(
    `type`: "scroll",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_playing")
  def removeEventListener(
    `type`: "playing",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_focusin")
  def removeEventListener(
    `type`: "focusin",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_keypress")
  def removeEventListener(
    `type`: "keypress",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_reset")
  def removeEventListener(
    `type`: "reset",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_loadstart")
  def removeEventListener(
    `type`: "loadstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_drag")
  def removeEventListener(
    `type`: "drag",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_durationchange")
  def removeEventListener(
    `type`: "durationchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_beforeinput")
  def removeEventListener(
    `type`: "beforeinput",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ InputEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_seeking")
  def removeEventListener(
    `type`: "seeking",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_emptied")
  def removeEventListener(
    `type`: "emptied",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_error")
  def removeEventListener(
    `type`: "error",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ ErrorEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_seeked")
  def removeEventListener(
    `type`: "seeked",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseup")
  def removeEventListener(
    `type`: "mouseup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_selectstart")
  def removeEventListener(
    `type`: "selectstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerenter")
  def removeEventListener(
    `type`: "pointerenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_contextmenu")
  def removeEventListener(
    `type`: "contextmenu",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_input")
  def removeEventListener(
    `type`: "input",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_abort")
  def removeEventListener(
    `type`: "abort",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointercancel")
  def removeEventListener(
    `type`: "pointercancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_keyup")
  def removeEventListener(
    `type`: "keyup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragover")
  def removeEventListener(
    `type`: "dragover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_ended")
  def removeEventListener(
    `type`: "ended",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_stalled")
  def removeEventListener(
    `type`: "stalled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_compositionupdate")
  def removeEventListener(
    `type`: "compositionupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_loadedmetadata")
  def removeEventListener(
    `type`: "loadedmetadata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_cancel")
  def removeEventListener(
    `type`: "cancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_lostpointercapture")
  def removeEventListener(
    `type`: "lostpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitioncancel")
  def removeEventListener(
    `type`: "transitioncancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitionend")
  def removeEventListener(
    `type`: "transitionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_canplay")
  def removeEventListener(
    `type`: "canplay",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_click")
  def removeEventListener(
    `type`: "click",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_drop")
  def removeEventListener(
    `type`: "drop",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_play")
  def removeEventListener(
    `type`: "play",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationcancel")
  def removeEventListener(
    `type`: "animationcancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_progress")
  def removeEventListener(
    `type`: "progress",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ ProgressEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_focusout")
  def removeEventListener(
    `type`: "focusout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragend")
  def removeEventListener(
    `type`: "dragend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragexit")
  def removeEventListener(
    `type`: "dragexit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitionstart")
  def removeEventListener(
    `type`: "transitionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mousemove")
  def removeEventListener(
    `type`: "mousemove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_canplaythrough")
  def removeEventListener(
    `type`: "canplaythrough",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_load")
  def removeEventListener(
    `type`: "load",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_compositionend")
  def removeEventListener(
    `type`: "compositionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_suspend")
  def removeEventListener(
    `type`: "suspend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragenter")
  def removeEventListener(
    `type`: "dragenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_resize")
  def removeEventListener(
    `type`: "resize",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mousedown")
  def removeEventListener(
    `type`: "mousedown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerup")
  def removeEventListener(
    `type`: "pointerup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseleave")
  def removeEventListener(
    `type`: "mouseleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationend")
  def removeEventListener(
    `type`: "animationend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragstart")
  def removeEventListener(
    `type`: "dragstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchcancel")
  def removeEventListener(
    `type`: "touchcancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerdown")
  def removeEventListener(
    `type`: "pointerdown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationstart")
  def removeEventListener(
    `type`: "animationstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_gotpointercapture")
  def removeEventListener(
    `type`: "gotpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchmove")
  def removeEventListener(
    `type`: "touchmove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_invalid")
  def removeEventListener(
    `type`: "invalid",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_close")
  def removeEventListener(
    `type`: "close",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerleave")
  def removeEventListener(
    `type`: "pointerleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pause")
  def removeEventListener(
    `type`: "pause",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_ratechange")
  def removeEventListener(
    `type`: "ratechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dblclick")
  def removeEventListener(
    `type`: "dblclick",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_selectionchange")
  def removeEventListener(
    `type`: "selectionchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseover")
  def removeEventListener(
    `type`: "mouseover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_auxclick")
  def removeEventListener(
    `type`: "auxclick",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_select")
  def removeEventListener(
    `type`: "select",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_waiting")
  def removeEventListener(
    `type`: "waiting",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_toggle")
  def removeEventListener(
    `type`: "toggle",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchend")
  def removeEventListener(
    `type`: "touchend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_loadeddata")
  def removeEventListener(
    `type`: "loadeddata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_submit")
  def removeEventListener(
    `type`: "submit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointermove")
  def removeEventListener(
    `type`: "pointermove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_keydown")
  def removeEventListener(
    `type`: "keydown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationiteration")
  def removeEventListener(
    `type`: "animationiteration",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerover")
  def removeEventListener(
    `type`: "pointerover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_securitypolicyviolation")
  def removeEventListener(
    `type`: "securitypolicyviolation",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ SecurityPolicyViolationEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_compositionstart")
  def removeEventListener(
    `type`: "compositionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_volumechange")
  def removeEventListener(
    `type`: "volumechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseout")
  def removeEventListener(
    `type`: "mouseout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_wheel")
  def removeEventListener(
    `type`: "wheel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ WheelEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_change")
  def removeEventListener(
    `type`: "change",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerout")
  def removeEventListener(
    `type`: "pointerout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_focus")
  def removeEventListener(
    `type`: "focus",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragleave")
  def removeEventListener(
    `type`: "dragleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_loadeddata")
  def removeEventListener(
    `type`: "loadeddata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_abort")
  def removeEventListener(
    `type`: "abort",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_canplaythrough")
  def removeEventListener(
    `type`: "canplaythrough",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationstart")
  def removeEventListener(
    `type`: "animationstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchmove")
  def removeEventListener(
    `type`: "touchmove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_lostpointercapture")
  def removeEventListener(
    `type`: "lostpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_volumechange")
  def removeEventListener(
    `type`: "volumechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mousedown")
  def removeEventListener(
    `type`: "mousedown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragend")
  def removeEventListener(
    `type`: "dragend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseup")
  def removeEventListener(
    `type`: "mouseup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_keydown")
  def removeEventListener(
    `type`: "keydown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_seeked")
  def removeEventListener(
    `type`: "seeked",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerleave")
  def removeEventListener(
    `type`: "pointerleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_input")
  def removeEventListener(
    `type`: "input",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pause")
  def removeEventListener(
    `type`: "pause",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_reset")
  def removeEventListener(
    `type`: "reset",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_keyup")
  def removeEventListener(
    `type`: "keyup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitionstart")
  def removeEventListener(
    `type`: "transitionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_invalid")
  def removeEventListener(
    `type`: "invalid",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_drop")
  def removeEventListener(
    `type`: "drop",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_play")
  def removeEventListener(
    `type`: "play",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_blur")
  def removeEventListener(
    `type`: "blur",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_selectstart")
  def removeEventListener(
    `type`: "selectstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_ratechange")
  def removeEventListener(
    `type`: "ratechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_close")
  def removeEventListener(
    `type`: "close",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitionend")
  def removeEventListener(
    `type`: "transitionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_error")
  def removeEventListener(
    `type`: "error",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ ErrorEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_auxclick")
  def removeEventListener(
    `type`: "auxclick",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mousemove")
  def removeEventListener(
    `type`: "mousemove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_compositionend")
  def removeEventListener(
    `type`: "compositionend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationend")
  def removeEventListener(
    `type`: "animationend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dblclick")
  def removeEventListener(
    `type`: "dblclick",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_progress")
  def removeEventListener(
    `type`: "progress",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ ProgressEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointermove")
  def removeEventListener(
    `type`: "pointermove",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_playing")
  def removeEventListener(
    `type`: "playing",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointercancel")
  def removeEventListener(
    `type`: "pointercancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_cuechange")
  def removeEventListener(
    `type`: "cuechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_suspend")
  def removeEventListener(
    `type`: "suspend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitioncancel")
  def removeEventListener(
    `type`: "transitioncancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragover")
  def removeEventListener(
    `type`: "dragover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_scroll")
  def removeEventListener(
    `type`: "scroll",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseleave")
  def removeEventListener(
    `type`: "mouseleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerout")
  def removeEventListener(
    `type`: "pointerout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerenter")
  def removeEventListener(
    `type`: "pointerenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseenter")
  def removeEventListener(
    `type`: "mouseenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_wheel")
  def removeEventListener(
    `type`: "wheel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ WheelEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_durationchange")
  def removeEventListener(
    `type`: "durationchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_ended")
  def removeEventListener(
    `type`: "ended",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_emptied")
  def removeEventListener(
    `type`: "emptied",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerdown")
  def removeEventListener(
    `type`: "pointerdown",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_focusin")
  def removeEventListener(
    `type`: "focusin",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_timeupdate")
  def removeEventListener(
    `type`: "timeupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseout")
  def removeEventListener(
    `type`: "mouseout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_load")
  def removeEventListener(
    `type`: "load",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_waiting")
  def removeEventListener(
    `type`: "waiting",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchend")
  def removeEventListener(
    `type`: "touchend",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_beforeinput")
  def removeEventListener(
    `type`: "beforeinput",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ InputEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_contextmenu")
  def removeEventListener(
    `type`: "contextmenu",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_compositionupdate")
  def removeEventListener(
    `type`: "compositionupdate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_select")
  def removeEventListener(
    `type`: "select",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationiteration")
  def removeEventListener(
    `type`: "animationiteration",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_focus")
  def removeEventListener(
    `type`: "focus",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_selectionchange")
  def removeEventListener(
    `type`: "selectionchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_loadstart")
  def removeEventListener(
    `type`: "loadstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_change")
  def removeEventListener(
    `type`: "change",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchstart")
  def removeEventListener(
    `type`: "touchstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_focusout")
  def removeEventListener(
    `type`: "focusout",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ FocusEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragexit")
  def removeEventListener(
    `type`: "dragexit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_loadedmetadata")
  def removeEventListener(
    `type`: "loadedmetadata",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_drag")
  def removeEventListener(
    `type`: "drag",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerover")
  def removeEventListener(
    `type`: "pointerover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragleave")
  def removeEventListener(
    `type`: "dragleave",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragenter")
  def removeEventListener(
    `type`: "dragenter",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_submit")
  def removeEventListener(
    `type`: "submit",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_gotpointercapture")
  def removeEventListener(
    `type`: "gotpointercapture",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_securitypolicyviolation")
  def removeEventListener(
    `type`: "securitypolicyviolation",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ SecurityPolicyViolationEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_resize")
  def removeEventListener(
    `type`: "resize",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.UIEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_compositionstart")
  def removeEventListener(
    `type`: "compositionstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ CompositionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_touchcancel")
  def removeEventListener(
    `type`: "touchcancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TouchEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_animationcancel")
  def removeEventListener(
    `type`: "animationcancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ AnimationEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_mouseover")
  def removeEventListener(
    `type`: "mouseover",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_keypress")
  def removeEventListener(
    `type`: "keypress",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ KeyboardEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_canplay")
  def removeEventListener(
    `type`: "canplay",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_toggle")
  def removeEventListener(
    `type`: "toggle",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_cancel")
  def removeEventListener(
    `type`: "cancel",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_dragstart")
  def removeEventListener(
    `type`: "dragstart",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ DragEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_stalled")
  def removeEventListener(
    `type`: "stalled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_transitionrun")
  def removeEventListener(
    `type`: "transitionrun",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ TransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pointerup")
  def removeEventListener(
    `type`: "pointerup",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PointerEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_click")
  def removeEventListener(
    `type`: "click",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MouseEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_seeking")
  def removeEventListener(
    `type`: "seeking",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  /* standard dom */
  def removeEventListener(`type`: java.lang.String, listener: EventListenerOrEventListenerObject): Unit = js.native
  def removeEventListener(
    `type`: java.lang.String,
    listener: EventListenerOrEventListenerObject,
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  def removeEventListener(`type`: java.lang.String, listener: EventListenerOrEventListenerObject, options: Boolean): Unit = js.native
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy