Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RxWindow

Hierarchy

  • RxWindow

Indexable

[index: number]: Window

Index

Constructors

constructor

Properties

Readonly applicationCache

applicationCache: ApplicationCache

Readonly clientInformation

clientInformation: Navigator

Readonly closed

closed: boolean

customElements

customElements: CustomElementRegistry

defaultStatus

defaultStatus: string

Readonly devicePixelRatio

devicePixelRatio: number

Readonly doNotTrack

doNotTrack: string

Readonly document

document: Document

Readonly frameElement

frameElement: Element

Readonly frames

frames: Window

Readonly history

history: History

Readonly innerHeight

innerHeight: number

Readonly innerWidth

innerWidth: number

Readonly length

length: number

location

location: Location

Readonly locationbar

locationbar: BarProp

Readonly menubar

menubar: BarProp

Readonly msContentScript

msContentScript: ExtensionScriptApis

name

name: string

Readonly navigator

navigator: Navigator

offscreenBuffering

offscreenBuffering: string | boolean

opener

opener: any

Readonly outerHeight

outerHeight: number

Readonly outerWidth

outerWidth: number

Readonly pageXOffset

pageXOffset: number

Readonly pageYOffset

pageYOffset: number

Readonly parent

parent: Window

Readonly personalbar

personalbar: BarProp

Readonly screen

screen: Screen

Readonly screenLeft

screenLeft: number

Readonly screenTop

screenTop: number

Readonly screenX

screenX: number

Readonly screenY

screenY: number

Readonly scrollX

scrollX: number

Readonly scrollY

scrollY: number

Readonly scrollbars

scrollbars: BarProp

Readonly self

self: Window & typeof globalThis

Readonly speechSynthesis

speechSynthesis: SpeechSynthesis

status

status: string

Readonly statusbar

statusbar: BarProp

Readonly styleMedia

styleMedia: StyleMedia

Readonly toolbar

toolbar: BarProp

Readonly top

top: Window

Readonly window

window: Window & typeof globalThis

Methods

addEventListener

  • addEventListener<K>(type: K, listener: (this: Window, event: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void
  • Type parameters

    • K: keyof WindowEventMap

    Parameters

    • type: K
    • listener: (this: Window, event: WindowEventMap[K]) => any
        • (this: Window, event: WindowEventMap[K]): any
        • Parameters

          • this: Window
          • event: WindowEventMap[K]

          Returns any

    • Optional options: boolean | AddEventListenerOptions

    Returns void

alert

  • alert(message?: any): void

blur

  • blur(): void

close

  • close(): void

confirm

  • confirm(message?: undefined | string): boolean

departFocus

  • departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void
  • Parameters

    • navigationReason: NavigationReason
    • origin: FocusNavigationOrigin

    Returns void

focus

  • focus(): void

getComputedStyle

  • getComputedStyle(elt: Element, pseudoElt?: string | null): any

getMatchedCSSRules

  • getMatchedCSSRules(elt: Element, pseudoElt?: string | null): any

getSelection

  • getSelection(): Selection | null

matchMedia

  • matchMedia(query: string): any

moveBy

  • moveBy(x: number, y: number): void

moveTo

  • moveTo(x: number, y: number): void

msWriteProfilerMark

  • msWriteProfilerMark(profilerMarkName: string): void

oncompassneedscalibration

  • oncompassneedscalibration(event: Event): any | null

ondevicelight

  • ondevicelight(event: DeviceLightEvent): any | null

ondevicemotion

  • ondevicemotion(event: DeviceMotionEvent): any | null

ondeviceorientation

  • ondeviceorientation(event: DeviceOrientationEvent): any | null

ondeviceorientationabsolute

  • ondeviceorientationabsolute(event: DeviceOrientationEvent): any | null

onmousewheel

  • onmousewheel(event: Event): any | null

onmsgesturechange

  • onmsgesturechange(event: Event): any | null

onmsgesturedoubletap

  • onmsgesturedoubletap(event: Event): any | null

onmsgestureend

  • onmsgestureend(event: Event): any | null

onmsgesturehold

  • onmsgesturehold(event: Event): any | null

onmsgesturestart

  • onmsgesturestart(event: Event): any | null

onmsgesturetap

  • onmsgesturetap(event: Event): any | null

onmsinertiastart

  • onmsinertiastart(event: Event): any | null

onmspointercancel

  • onmspointercancel(event: Event): any | null

onmspointerdown

  • onmspointerdown(event: Event): any | null

onmspointerenter

  • onmspointerenter(event: Event): any | null

onmspointerleave

  • onmspointerleave(event: Event): any | null

onmspointermove

  • onmspointermove(event: Event): any | null

onmspointerout

  • onmspointerout(event: Event): any | null

onmspointerover

  • onmspointerover(event: Event): any | null

onmspointerup

  • onmspointerup(event: Event): any | null

onreadystatechange

  • onreadystatechange(event: ProgressEvent<Window>): any | null

onvrdisplayactivate

  • onvrdisplayactivate(event: Event): any | null

onvrdisplayblur

  • onvrdisplayblur(event: Event): any | null

onvrdisplayconnect

  • onvrdisplayconnect(event: Event): any | null

onvrdisplaydeactivate

  • onvrdisplaydeactivate(event: Event): any | null

onvrdisplaydisconnect

  • onvrdisplaydisconnect(event: Event): any | null

onvrdisplayfocus

  • onvrdisplayfocus(event: Event): any | null

onvrdisplaypointerrestricted

  • onvrdisplaypointerrestricted(event: Event): any | null

onvrdisplaypointerunrestricted

  • onvrdisplaypointerunrestricted(event: Event): any | null

onvrdisplaypresentchange

  • onvrdisplaypresentchange(event: Event): any | null

open

  • open(url?: undefined | string, target?: undefined | string, features?: undefined | string, replace?: undefined | false | true): Window | null
  • Parameters

    • Optional url: undefined | string
    • Optional target: undefined | string
    • Optional features: undefined | string
    • Optional replace: undefined | false | true

    Returns Window | null

postMessage

  • postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void
  • Parameters

    • message: any
    • targetOrigin: string
    • Optional transfer: Transferable[]

    Returns void

print

  • print(): void

prompt

  • prompt(message?: undefined | string, _default?: undefined | string): string | null
  • Parameters

    • Optional message: undefined | string
    • Optional _default: undefined | string

    Returns string | null

removeEventListener

  • removeEventListener<K>(type: K, listener: (this: Window, event: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void
  • Type parameters

    • K: keyof WindowEventMap

    Parameters

    • type: K
    • listener: (this: Window, event: WindowEventMap[K]) => any
        • (this: Window, event: WindowEventMap[K]): any
        • Parameters

          • this: Window
          • event: WindowEventMap[K]

          Returns any

    • Optional options: boolean | EventListenerOptions

    Returns void

resizeBy

  • resizeBy(x: number, y: number): void

resizeTo

  • resizeTo(x: number, y: number): void

scroll

  • scroll(...args: any[]): void

scrollBy

  • scrollBy(...args: any[]): void

scrollTo

  • scrollTo(...args: any[]): void

stop

  • stop(): void

webkitCancelAnimationFrame

  • webkitCancelAnimationFrame(handle: number): void

webkitConvertPointFromNodeToPage

  • webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): any

webkitConvertPointFromPageToNode

  • webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): any

webkitRequestAnimationFrame

  • webkitRequestAnimationFrame(callback: FrameRequestCallback): number