Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

onafterprint: null | ((this: WindowEventHandlers, ev: Event) => any)
onbeforeprint: null | ((this: WindowEventHandlers, ev: Event) => any)
onbeforeunload: null | ((this: WindowEventHandlers, ev: internal.BeforeUnloadEvent) => any)
ongamepadconnected: null | ((this: WindowEventHandlers, ev: internal.GamepadEvent) => any)
ongamepaddisconnected: null | ((this: WindowEventHandlers, ev: internal.GamepadEvent) => any)
onhashchange: null | ((this: WindowEventHandlers, ev: internal.HashChangeEvent) => any)
onlanguagechange: null | ((this: WindowEventHandlers, ev: Event) => any)
onmessage: null | ((this: WindowEventHandlers, ev: internal.MessageEvent<any>) => any)
onmessageerror: null | ((this: WindowEventHandlers, ev: internal.MessageEvent<any>) => any)
onoffline: null | ((this: WindowEventHandlers, ev: Event) => any)
ononline: null | ((this: WindowEventHandlers, ev: Event) => any)
onpagehide: null | ((this: WindowEventHandlers, ev: internal.PageTransitionEvent) => any)
onpageshow: null | ((this: WindowEventHandlers, ev: internal.PageTransitionEvent) => any)
onpopstate: null | ((this: WindowEventHandlers, ev: internal.PopStateEvent) => any)
onrejectionhandled: null | ((this: WindowEventHandlers, ev: internal.PromiseRejectionEvent) => any)
onstorage: null | ((this: WindowEventHandlers, ev: internal.StorageEvent) => any)
onunhandledrejection: null | ((this: WindowEventHandlers, ev: internal.PromiseRejectionEvent) => any)
onunload: null | ((this: WindowEventHandlers, ev: Event) => any)

Methods

  • addEventListener<K>(type: K, listener: ((this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any), options?: boolean | AddEventListenerOptions): void
  • addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void
  • removeEventListener<K>(type: K, listener: ((this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any), options?: boolean | EventListenerOptions): void
  • removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void

Generated using TypeDoc