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

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

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

import org.scalajs.dom.BeforeUnloadEvent
import org.scalajs.dom.HashChangeEvent
import org.scalajs.dom.MessageEvent
import org.scalajs.dom.PopStateEvent
import org.scalajs.dom.StorageEvent
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

@js.native
trait WindowEventHandlers extends StObject {
  
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_languagechange")
  def addEventListener(
    `type`: "languagechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_hashchange")
  def addEventListener(
    `type`: "hashchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ HashChangeEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_popstate")
  def addEventListener(`type`: "popstate", listener: js.ThisFunction1[/* this */ this.type, /* ev */ PopStateEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_beforeunload")
  def addEventListener(
    `type`: "beforeunload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ BeforeUnloadEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_online")
  def addEventListener(
    `type`: "online",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_unload")
  def addEventListener(
    `type`: "unload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  /* standard dom */
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_afterprint")
  def addEventListener(
    `type`: "afterprint",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_message")
  def addEventListener(`type`: "message", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pagehide")
  def addEventListener(
    `type`: "pagehide",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_storage")
  def addEventListener(`type`: "storage", listener: js.ThisFunction1[/* this */ this.type, /* ev */ StorageEvent, Any]): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pageshow")
  def addEventListener(
    `type`: "pageshow",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_rejectionhandled")
  def addEventListener(
    `type`: "rejectionhandled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_unhandledrejection")
  def addEventListener(
    `type`: "unhandledrejection",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_beforeprint")
  def addEventListener(
    `type`: "beforeprint",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_offline")
  def addEventListener(
    `type`: "offline",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_messageerror")
  def addEventListener(
    `type`: "messageerror",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any]
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_languagechange")
  def addEventListener(
    `type`: "languagechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_afterprint")
  def addEventListener(
    `type`: "afterprint",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_offline")
  def addEventListener(
    `type`: "offline",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_unload")
  def addEventListener(
    `type`: "unload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pagehide")
  def addEventListener(
    `type`: "pagehide",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_online")
  def addEventListener(
    `type`: "online",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_rejectionhandled")
  def addEventListener(
    `type`: "rejectionhandled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_hashchange")
  def addEventListener(
    `type`: "hashchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ HashChangeEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_storage")
  def addEventListener(
    `type`: "storage",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ StorageEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_message")
  def addEventListener(
    `type`: "message",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_messageerror")
  def addEventListener(
    `type`: "messageerror",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_beforeprint")
  def addEventListener(
    `type`: "beforeprint",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pageshow")
  def addEventListener(
    `type`: "pageshow",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_beforeunload")
  def addEventListener(
    `type`: "beforeunload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ BeforeUnloadEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_unhandledrejection")
  def addEventListener(
    `type`: "unhandledrejection",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_popstate")
  def addEventListener(
    `type`: "popstate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PopStateEvent, Any],
    options: AddEventListenerOptions
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_beforeunload")
  def addEventListener(
    `type`: "beforeunload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ BeforeUnloadEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_languagechange")
  def addEventListener(
    `type`: "languagechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_beforeprint")
  def addEventListener(
    `type`: "beforeprint",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_rejectionhandled")
  def addEventListener(
    `type`: "rejectionhandled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pageshow")
  def addEventListener(
    `type`: "pageshow",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_message")
  def addEventListener(
    `type`: "message",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_afterprint")
  def addEventListener(
    `type`: "afterprint",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_offline")
  def addEventListener(
    `type`: "offline",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_unhandledrejection")
  def addEventListener(
    `type`: "unhandledrejection",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_storage")
  def addEventListener(
    `type`: "storage",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ StorageEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_popstate")
  def addEventListener(
    `type`: "popstate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PopStateEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_messageerror")
  def addEventListener(
    `type`: "messageerror",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_unload")
  def addEventListener(
    `type`: "unload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_pagehide")
  def addEventListener(
    `type`: "pagehide",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_hashchange")
  def addEventListener(
    `type`: "hashchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ HashChangeEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("addEventListener")
  @scala.annotation.targetName("addEventListener_online")
  def addEventListener(
    `type`: "online",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, 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
  
  /* standard dom */
  var onafterprint: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onbeforeprint: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onbeforeunload: (js.ThisFunction1[/* this */ this.type, /* ev */ BeforeUnloadEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onhashchange: (js.ThisFunction1[/* this */ this.type, /* ev */ HashChangeEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onlanguagechange: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onmessage: (js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onmessageerror: (js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onoffline: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var ononline: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  /* standard dom */
  var onpagehide: (js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onpageshow: (js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onpopstate: (js.ThisFunction1[/* this */ this.type, /* ev */ PopStateEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onrejectionhandled: (js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onstorage: (js.ThisFunction1[/* this */ this.type, /* ev */ StorageEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onunhandledrejection: (js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any]) | Null = js.native
  
  /* standard dom */
  var onunload: (js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]) | Null = js.native
  
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_rejectionhandled")
  def removeEventListener(
    `type`: "rejectionhandled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_hashchange")
  def removeEventListener(
    `type`: "hashchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ HashChangeEvent, Any]
  ): Unit = js.native
  /* standard dom */
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_afterprint")
  def removeEventListener(
    `type`: "afterprint",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_messageerror")
  def removeEventListener(
    `type`: "messageerror",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_unhandledrejection")
  def removeEventListener(
    `type`: "unhandledrejection",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_beforeunload")
  def removeEventListener(
    `type`: "beforeunload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ BeforeUnloadEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pagehide")
  def removeEventListener(
    `type`: "pagehide",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_beforeprint")
  def removeEventListener(
    `type`: "beforeprint",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_offline")
  def removeEventListener(
    `type`: "offline",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_storage")
  def removeEventListener(`type`: "storage", listener: js.ThisFunction1[/* this */ this.type, /* ev */ StorageEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_languagechange")
  def removeEventListener(
    `type`: "languagechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_online")
  def removeEventListener(
    `type`: "online",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pageshow")
  def removeEventListener(
    `type`: "pageshow",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_unload")
  def removeEventListener(
    `type`: "unload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any]
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_popstate")
  def removeEventListener(`type`: "popstate", listener: js.ThisFunction1[/* this */ this.type, /* ev */ PopStateEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_message")
  def removeEventListener(`type`: "message", listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any]): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_offline")
  def removeEventListener(
    `type`: "offline",
    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_storage")
  def removeEventListener(
    `type`: "storage",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ StorageEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_unload")
  def removeEventListener(
    `type`: "unload",
    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_message")
  def removeEventListener(
    `type`: "message",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_online")
  def removeEventListener(
    `type`: "online",
    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_beforeprint")
  def removeEventListener(
    `type`: "beforeprint",
    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_afterprint")
  def removeEventListener(
    `type`: "afterprint",
    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_popstate")
  def removeEventListener(
    `type`: "popstate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PopStateEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_rejectionhandled")
  def removeEventListener(
    `type`: "rejectionhandled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_hashchange")
  def removeEventListener(
    `type`: "hashchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ HashChangeEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pageshow")
  def removeEventListener(
    `type`: "pageshow",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_messageerror")
  def removeEventListener(
    `type`: "messageerror",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_unhandledrejection")
  def removeEventListener(
    `type`: "unhandledrejection",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_beforeunload")
  def removeEventListener(
    `type`: "beforeunload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ BeforeUnloadEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_languagechange")
  def removeEventListener(
    `type`: "languagechange",
    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_pagehide")
  def removeEventListener(
    `type`: "pagehide",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any],
    options: org.scalajs.dom.EventListenerOptions
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_storage")
  def removeEventListener(
    `type`: "storage",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ StorageEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_unhandledrejection")
  def removeEventListener(
    `type`: "unhandledrejection",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_languagechange")
  def removeEventListener(
    `type`: "languagechange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_unload")
  def removeEventListener(
    `type`: "unload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_rejectionhandled")
  def removeEventListener(
    `type`: "rejectionhandled",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PromiseRejectionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pagehide")
  def removeEventListener(
    `type`: "pagehide",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_message")
  def removeEventListener(
    `type`: "message",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_messageerror")
  def removeEventListener(
    `type`: "messageerror",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ MessageEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_beforeprint")
  def removeEventListener(
    `type`: "beforeprint",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_popstate")
  def removeEventListener(
    `type`: "popstate",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PopStateEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_hashchange")
  def removeEventListener(
    `type`: "hashchange",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ HashChangeEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_afterprint")
  def removeEventListener(
    `type`: "afterprint",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_offline")
  def removeEventListener(
    `type`: "offline",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ org.scalajs.dom.Event, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_pageshow")
  def removeEventListener(
    `type`: "pageshow",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ PageTransitionEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_beforeunload")
  def removeEventListener(
    `type`: "beforeunload",
    listener: js.ThisFunction1[/* this */ this.type, /* ev */ BeforeUnloadEvent, Any],
    options: Boolean
  ): Unit = js.native
  @JSName("removeEventListener")
  @scala.annotation.targetName("removeEventListener_online")
  def removeEventListener(
    `type`: "online",
    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