[]
The following sections describe the module: report/types/window.
A window containing a DOM document; the document property points to the DOM document loaded in that window.
EventTarget
AnimationFrameProvider
GlobalEventHandlers
WindowEventHandlers
WindowLocalStorage
WindowOrWorkerGlobalScope
WindowSessionStorage
↳ Window
▪ [index: number]: Window
• GrapeCity: Object
Name | Type |
|---|---|
| { |
| |
|
|
| |
|
|
WynReports: { Designer: DesignerApi ; DesignerLocalizationResources?: Record<string, LocalizationResourceBundle[]> ; Viewer: ViewerApi ; ViewerLocalizationResources?: Record<string, LocalizationResourceBundle[]> }
WynReports.Designer: DesignerApi
WynReports.DesignerLocalizationResources?: Record<string, LocalizationResourceBundle[]>
WynReports.Viewer: ViewerApi
WynReports.ViewerLocalizationResources?: Record<string, LocalizationResourceBundle[]>
• WynBi: any
• WynDashboards: Object
Name | Type |
|---|---|
| ( |
| ( |
create: (type: "DashboardDesigner", config: WynBIOption & internal) => DashboardDesigner(type: "DashboardViewer", config: WynBIOption & internal) => DashboardViewer
createViewerLite: (config: WynBIOption & internal) => DashboardLiteViewer
• Readonly caches: CacheStorage
Available only in secure contexts.
WindowOrWorkerGlobalScope.caches
• Readonly clientInformation: Navigator
Deprecated
This is a legacy alias of navigator.
• Readonly closed: boolean
Returns 'true' if the window has been closed, otherwise 'false '.
• Readonly crossOriginIsolated: boolean
WindowOrWorkerGlobalScope.crossOriginIsolated
• Readonly crypto: Crypto
WindowOrWorkerGlobalScope.crypto
• Readonly customElements: CustomElementRegistry
Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.
• Readonly devicePixelRatio: number
• Readonly document: Document
• Readonly event: undefined | Event
Deprecated
• Readonly external: External
Deprecated
• Readonly frameElement: null | Element
• Readonly frames: Window
• grapecity: Object
Name | Type |
|---|---|
| { |
| |
| |
|
|
| |
| |
| |
| |
|
wyn: { analysis: Analysis ; dataset: Dataset ; datasource: Datasource ; documentBinder: DocumentBinder ; nativeQueryDataset: NativeQueryDataset ; pushDataset: PushDataset ; semanticModel: SemanticModel ; streamingDataset: StreamingDataset }
wyn.analysis: Analysis
wyn.dataset: Dataset
wyn.datasource: Datasource
wyn.documentBinder: DocumentBinder
wyn.nativeQueryDataset: NativeQueryDataset
wyn.pushDataset: PushDataset
wyn.semanticModel: SemanticModel
wyn.streamingDataset: StreamingDataset
• Readonly history: History
• Readonly indexedDB: IDBFactory
WindowOrWorkerGlobalScope.indexedDB
• Readonly innerHeight: number
• Readonly innerWidth: number
• Readonly isSecureContext: boolean
WindowOrWorkerGlobalScope.isSecureContext
• Readonly length: number
• Readonly localStorage: Storage
WindowLocalStorage.localStorage
• Readonly locationbar: BarProp
Returns true if the location bar is visible; otherwise, returns false.
• Readonly menubar: BarProp
Returns true if the menu bar is visible; otherwise, returns false.
• name: string
• Readonly navigator: Navigator
• onabort: null | (this: GlobalEventHandlers, ev: UIEvent) => any
Fires when the user aborts the download.
Param
The event.
GlobalEventHandlers.onabort
• onafterprint: null | (this: WindowEventHandlers, ev: Event) => any
WindowEventHandlers.onafterprint
• onanimationcancel: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
GlobalEventHandlers.onanimationcancel
• onanimationend: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
GlobalEventHandlers.onanimationend
• onanimationiteration: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
GlobalEventHandlers.onanimationiteration
• onanimationstart: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
GlobalEventHandlers.onanimationstart
• onauxclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
GlobalEventHandlers.onauxclick
• onbeforeinput: null | (this: GlobalEventHandlers, ev: InputEvent) => any
GlobalEventHandlers.onbeforeinput
• onbeforeprint: null | (this: WindowEventHandlers, ev: Event) => any
WindowEventHandlers.onbeforeprint
• onbeforeunload: null | (this: WindowEventHandlers, ev: BeforeUnloadEvent) => any
WindowEventHandlers.onbeforeunload
• onblur: null | (this: GlobalEventHandlers, ev: FocusEvent) => any
Fires when the object loses the input focus.
Param
The focus event.
GlobalEventHandlers.onblur
• oncancel: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.oncancel
• oncanplay: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when playback is possible but requires further buffering.
Param
The event.
GlobalEventHandlers.oncanplay
• oncanplaythrough: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.oncanplaythrough
• onchange: null | (this: GlobalEventHandlers, ev: Event) => any
Fires when the contents of the object or selection have changed.
Param
The event.
GlobalEventHandlers.onchange
• onclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Fires when the user clicks the left mouse button on the object
Param
The mouse event.
GlobalEventHandlers.onclick
• onclose: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.onclose
• oncontextmenu: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Param
The mouse event.
GlobalEventHandlers.oncontextmenu
• oncopy: null | (this: GlobalEventHandlers, ev: ClipboardEvent) => any
GlobalEventHandlers.oncopy
• oncuechange: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.oncuechange
• oncut: null | (this: GlobalEventHandlers, ev: ClipboardEvent) => any
GlobalEventHandlers.oncut
• ondblclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Fires when the user double-clicks the object.
Param
The mouse event.
GlobalEventHandlers.ondblclick
• ondevicemotion: null | (this: Window, ev: DeviceMotionEvent) => any
Available only in secure contexts.
• ondeviceorientation: null | (this: Window, ev: DeviceOrientationEvent) => any
Available only in secure contexts.
• ondrag: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Fires on the source object continuously during a drag operation.
Param
The event.
GlobalEventHandlers.ondrag
• ondragend: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Fires on the source object when the user releases the mouse at the close of a drag operation.
Param
The event.
GlobalEventHandlers.ondragend
• ondragenter: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Fires on the target element when the user drags the object to a valid drop target.
Param
The drag event.
GlobalEventHandlers.ondragenter
• ondragleave: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Param
The drag event.
GlobalEventHandlers.ondragleave
• ondragover: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Fires on the target element continuously while the user drags the object over a valid drop target.
Param
The event.
GlobalEventHandlers.ondragover
• ondragstart: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Fires on the source object when the user starts to drag a text selection or selected object.
Param
The event.
GlobalEventHandlers.ondragstart
• ondrop: null | (this: GlobalEventHandlers, ev: DragEvent) => any
GlobalEventHandlers.ondrop
• ondurationchange: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the duration attribute is updated.
Param
The event.
GlobalEventHandlers.ondurationchange
• onemptied: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the media element is reset to its initial state.
Param
The event.
GlobalEventHandlers.onemptied
• onended: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the end of playback is reached.
Param
The event
GlobalEventHandlers.onended
• onerror: OnErrorEventHandler
Fires when an error occurs during object loading.
Param
The event.
GlobalEventHandlers.onerror
• onfocus: null | (this: GlobalEventHandlers, ev: FocusEvent) => any
Fires when the object receives focus.
Param
The event.
GlobalEventHandlers.onfocus
• onformdata: null | (this: GlobalEventHandlers, ev: FormDataEvent) => any
GlobalEventHandlers.onformdata
• ongamepadconnected: null | (this: WindowEventHandlers, ev: GamepadEvent) => any
WindowEventHandlers.ongamepadconnected
• ongamepaddisconnected: null | (this: WindowEventHandlers, ev: GamepadEvent) => any
WindowEventHandlers.ongamepaddisconnected
• ongotpointercapture: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
GlobalEventHandlers.ongotpointercapture
• onhashchange: null | (this: WindowEventHandlers, ev: HashChangeEvent) => any
WindowEventHandlers.onhashchange
• oninput: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.oninput
• oninvalid: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.oninvalid
• onkeydown: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any
Fires when the user presses a key.
Param
The keyboard event
GlobalEventHandlers.onkeydown
• onkeypress: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any
Fires when the user presses an alphanumeric key.
Param
The event.
Deprecated
GlobalEventHandlers.onkeypress
• onkeyup: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any
Fires when the user releases a key.
Param
The keyboard event.
GlobalEventHandlers.onkeyup
• onlanguagechange: null | (this: WindowEventHandlers, ev: Event) => any
WindowEventHandlers.onlanguagechange
• onload: null | (this: GlobalEventHandlers, ev: Event) => any
Fires immediately after the browser loads the object.
Param
The event.
GlobalEventHandlers.onload
• onloadeddata: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when media data is loaded at the current playback position.
Param
The event.
GlobalEventHandlers.onloadeddata
• onloadedmetadata: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the duration and dimensions of the media have been determined.
Param
The event.
GlobalEventHandlers.onloadedmetadata
• onloadstart: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when Internet Explorer begins looking for media data.
Param
The event.
GlobalEventHandlers.onloadstart
• onlostpointercapture: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
GlobalEventHandlers.onlostpointercapture
• onmessage: null | (this: WindowEventHandlers, ev: MessageEvent<any>) => any
WindowEventHandlers.onmessage
• onmessageerror: null | (this: WindowEventHandlers, ev: MessageEvent<any>) => any
WindowEventHandlers.onmessageerror
• onmousedown: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Fires when the user clicks the object with either mouse button.
Param
The mouse event.
GlobalEventHandlers.onmousedown
• onmouseenter: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
GlobalEventHandlers.onmouseenter
• onmouseleave: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
GlobalEventHandlers.onmouseleave
• onmousemove: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Fires when the user moves the mouse over the object.
Param
The mouse event.
GlobalEventHandlers.onmousemove
• onmouseout: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Fires when the user moves the mouse pointer outside the boundaries of the object.
Param
The mouse event.
GlobalEventHandlers.onmouseout
• onmouseover: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Fires when the user moves the mouse pointer into the object.
Param
The mouse event.
GlobalEventHandlers.onmouseover
• onmouseup: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Fires when the user releases a mouse button while the mouse is over the object.
Param
The mouse event.
GlobalEventHandlers.onmouseup
• onoffline: null | (this: WindowEventHandlers, ev: Event) => any
WindowEventHandlers.onoffline
• ononline: null | (this: WindowEventHandlers, ev: Event) => any
WindowEventHandlers.ononline
• onorientationchange: null | (this: Window, ev: Event) => any
Deprecated
• onpagehide: null | (this: WindowEventHandlers, ev: PageTransitionEvent) => any
WindowEventHandlers.onpagehide
• onpageshow: null | (this: WindowEventHandlers, ev: PageTransitionEvent) => any
WindowEventHandlers.onpageshow
• onpaste: null | (this: GlobalEventHandlers, ev: ClipboardEvent) => any
GlobalEventHandlers.onpaste
• onpause: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when playback is paused.
Param
The event.
GlobalEventHandlers.onpause
• onplay: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the play method is requested.
Param
The event.
GlobalEventHandlers.onplay
• onplaying: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the audio or video has started playing.
Param
The event.
GlobalEventHandlers.onplaying
• onpointercancel: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
GlobalEventHandlers.onpointercancel
• onpointerdown: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
GlobalEventHandlers.onpointerdown
• onpointerenter: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
GlobalEventHandlers.onpointerenter
• onpointerleave: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
GlobalEventHandlers.onpointerleave
• onpointermove: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
GlobalEventHandlers.onpointermove
• onpointerout: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
GlobalEventHandlers.onpointerout
• onpointerover: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
GlobalEventHandlers.onpointerover
• onpointerup: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
GlobalEventHandlers.onpointerup
• onpopstate: null | (this: WindowEventHandlers, ev: PopStateEvent) => any
WindowEventHandlers.onpopstate
• onprogress: null | (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any
Occurs to indicate progress while downloading media data.
Param
The event.
GlobalEventHandlers.onprogress
• onratechange: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the playback rate is increased or decreased.
Param
The event.
GlobalEventHandlers.onratechange
• onrejectionhandled: null | (this: WindowEventHandlers, ev: PromiseRejectionEvent) => any
WindowEventHandlers.onrejectionhandled
• onreset: null | (this: GlobalEventHandlers, ev: Event) => any
Fires when the user resets a form.
Param
The event.
GlobalEventHandlers.onreset
• onresize: null | (this: GlobalEventHandlers, ev: UIEvent) => any
GlobalEventHandlers.onresize
• onscroll: null | (this: GlobalEventHandlers, ev: Event) => any
Fires when the user repositions the scroll box in the scroll bar on the object.
Param
The event.
GlobalEventHandlers.onscroll
• onscrollend: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.onscrollend
• onsecuritypolicyviolation: null | (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any
GlobalEventHandlers.onsecuritypolicyviolation
• onseeked: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the seek operation ends.
Param
The event.
GlobalEventHandlers.onseeked
• onseeking: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the current playback position is moved.
Param
The event.
GlobalEventHandlers.onseeking
• onselect: null | (this: GlobalEventHandlers, ev: Event) => any
Fires when the current selection changes.
Param
The event.
GlobalEventHandlers.onselect
• onselectionchange: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.onselectionchange
• onselectstart: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.onselectstart
• onslotchange: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.onslotchange
• onstalled: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the download has stopped.
Param
The event.
GlobalEventHandlers.onstalled
• onstorage: null | (this: WindowEventHandlers, ev: StorageEvent) => any
WindowEventHandlers.onstorage
• onsubmit: null | (this: GlobalEventHandlers, ev: SubmitEvent) => any
GlobalEventHandlers.onsubmit
• onsuspend: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs if the load operation has been intentionally halted.
Param
The event.
GlobalEventHandlers.onsuspend
• ontimeupdate: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs to indicate the current playback position.
Param
The event.
GlobalEventHandlers.ontimeupdate
• ontoggle: null | (this: GlobalEventHandlers, ev: Event) => any
GlobalEventHandlers.ontoggle
• Optional ontouchcancel: null | (this: GlobalEventHandlers, ev: TouchEvent) => any
GlobalEventHandlers.ontouchcancel
• Optional ontouchend: null | (this: GlobalEventHandlers, ev: TouchEvent) => any
GlobalEventHandlers.ontouchend
• Optional ontouchmove: null | (this: GlobalEventHandlers, ev: TouchEvent) => any
GlobalEventHandlers.ontouchmove
• Optional ontouchstart: null | (this: GlobalEventHandlers, ev: TouchEvent) => any
GlobalEventHandlers.ontouchstart
• ontransitioncancel: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
GlobalEventHandlers.ontransitioncancel
• ontransitionend: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
GlobalEventHandlers.ontransitionend
• ontransitionrun: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
GlobalEventHandlers.ontransitionrun
• ontransitionstart: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
GlobalEventHandlers.ontransitionstart
• onunhandledrejection: null | (this: WindowEventHandlers, ev: PromiseRejectionEvent) => any
WindowEventHandlers.onunhandledrejection
• onunload: null | (this: WindowEventHandlers, ev: Event) => any
WindowEventHandlers.onunload
• onvolumechange: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when the volume is changed, or playback is muted or unmuted.
Param
The event.
GlobalEventHandlers.onvolumechange
• onwaiting: null | (this: GlobalEventHandlers, ev: Event) => any
Occurs when playback stops because the next frame of a video resource is not available.
Param
The event.
GlobalEventHandlers.onwaiting
• onwebkitanimationend: null | (this: GlobalEventHandlers, ev: Event) => any
Deprecated
This is a legacy alias of onanimationend.
GlobalEventHandlers.onwebkitanimationend
• onwebkitanimationiteration: null | (this: GlobalEventHandlers, ev: Event) => any
Deprecated
This is a legacy alias of onanimationiteration.
GlobalEventHandlers.onwebkitanimationiteration
• onwebkitanimationstart: null | (this: GlobalEventHandlers, ev: Event) => any
Deprecated
This is a legacy alias of onanimationstart.
GlobalEventHandlers.onwebkitanimationstart
• onwebkittransitionend: null | (this: GlobalEventHandlers, ev: Event) => any
Deprecated
This is a legacy alias of ontransitionend.
GlobalEventHandlers.onwebkittransitionend
• onwheel: null | (this: GlobalEventHandlers, ev: WheelEvent) => any
GlobalEventHandlers.onwheel
• opener: any
• Readonly orientation: number
Deprecated
• Readonly origin: string
WindowOrWorkerGlobalScope.origin
• Readonly outerHeight: number
• Readonly outerWidth: number
• Readonly pageXOffset: number
Deprecated
This is a legacy alias of scrollX.
• Readonly pageYOffset: number
Deprecated
This is a legacy alias of scrollY.
• Readonly parent: Window
Refers to either the parent WindowProxy, or itself.
It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent.
• Readonly performance: Performance
WindowOrWorkerGlobalScope.performance
• Readonly personalbar: BarProp
Returns true if the personal bar is visible; otherwise, returns false.
• Readonly screen: Screen
• Readonly screenLeft: number
• Readonly screenTop: number
• Readonly screenX: number
• Readonly screenY: number
• Readonly scrollX: number
• Readonly scrollY: number
• Readonly scrollbars: BarProp
Returns true if the scrollbars are visible; otherwise, returns false.
• Readonly self: Window & typeof globalThis
• Readonly sessionStorage: Storage
WindowSessionStorage.sessionStorage
• Readonly speechSynthesis: SpeechSynthesis
• status: string
Deprecated
• Readonly statusbar: BarProp
Returns true if the status bar is visible; otherwise, returns false.
• Readonly toolbar: BarProp
Returns true if the toolbar is visible; otherwise, returns false.
• Readonly top: null | Window
• Readonly visualViewport: null | VisualViewport
• Readonly window: Window & typeof globalThis
• get location(): Location
Location
• set location(href): void
Name | Type |
|---|---|
|
|
void
▸ addEventListener<K>(type, listener, options?): void
Name | Type |
|---|---|
| extends keyof |
Name | Type |
|---|---|
|
|
| ( |
|
|
void
EventTarget.addEventListener
▸ addEventListener(type, listener, options?): void
Name | Type |
|---|---|
|
|
|
|
|
|
void
EventTarget.addEventListener
▸ alert(message?): void
Name | Type |
|---|---|
|
|
void
▸ atob(data): string
Name | Type |
|---|---|
|
|
string
WindowOrWorkerGlobalScope.atob
▸ blur(): void
void
▸ btoa(data): string
Name | Type |
|---|---|
|
|
string
WindowOrWorkerGlobalScope.btoa
▸ cancelAnimationFrame(handle): void
Name | Type |
|---|---|
|
|
void
AnimationFrameProvider.cancelAnimationFrame
▸ cancelIdleCallback(handle): void
Name | Type |
|---|---|
|
|
void
▸ captureEvents(): void
void
Deprecated
▸ clearInterval(id): void
Name | Type |
|---|---|
|
|
void
WindowOrWorkerGlobalScope.clearInterval
▸ clearTimeout(id): void
Name | Type |
|---|---|
|
|
void
WindowOrWorkerGlobalScope.clearTimeout
▸ close(): void
Closes the window.
void
▸ confirm(message?): boolean
Name | Type |
|---|---|
|
|
boolean
▸ createImageBitmap(image, options?): Promise<ImageBitmap>
Name | Type |
|---|---|
|
|
|
|
Promise<ImageBitmap>
WindowOrWorkerGlobalScope.createImageBitmap
▸ createImageBitmap(image, sx, sy, sw, sh, options?): Promise<ImageBitmap>
Name | Type |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Promise<ImageBitmap>
WindowOrWorkerGlobalScope.createImageBitmap
▸ dispatchEvent(event): boolean
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Name | Type |
|---|---|
|
|
boolean
EventTarget.dispatchEvent
▸ fetch(input, init?): Promise<Response>
Name | Type |
|---|---|
|
|
|
|
Promise<Response>
WindowOrWorkerGlobalScope.fetch
▸ focus(): void
Moves the focus to the window's browsing context, if any.
void
▸ getComputedStyle(elt, pseudoElt?): CSSStyleDeclaration
Name | Type |
|---|---|
|
|
|
|
CSSStyleDeclaration
▸ getSelection(): null | Selection
null | Selection
▸ matchMedia(query): MediaQueryList
Name | Type |
|---|---|
|
|
MediaQueryList
▸ moveBy(x, y): void
Name | Type |
|---|---|
|
|
|
|
void
▸ moveTo(x, y): void
Name | Type |
|---|---|
|
|
|
|
void
▸ open(url?, target?, features?): null | Window
Name | Type |
|---|---|
|
|
|
|
|
|
null | Window
▸ postMessage(message, targetOrigin, transfer?): void
Posts a message to the given window. Messages can be structured objects, e.g. nested objects and arrays, can contain JavaScript values (strings, numbers, Date objects, etc), and can contain certain data objects such as File Blob, FileList, and ArrayBuffer objects.
Objects listed in the transfer member of options are transferred, not just cloned, meaning that they are no longer usable on the sending side.
A target origin can be specified using the targetOrigin member of options. If not provided, it defaults to "/". This default restricts the message to same-origin targets only.
If the origin of the target window doesn't match the given target origin, the message is discarded, to avoid information leakage. To send the message to the target regardless of origin, set the target origin to "*".
Throws a "DataCloneError" DOMException if transfer array contains duplicate objects or if message could not be cloned.
Name | Type |
|---|---|
|
|
|
|
|
|
void
▸ postMessage(message, options?): void
Name | Type |
|---|---|
|
|
|
|
void
▸ print(): void
void
▸ prompt(message?, _default?): null | string
Name | Type |
|---|---|
|
|
|
|
null | string
▸ queueMicrotask(callback): void
Name | Type |
|---|---|
|
|
void
WindowOrWorkerGlobalScope.queueMicrotask
▸ releaseEvents(): void
void
Deprecated
▸ removeEventListener<K>(type, listener, options?): void
Name | Type |
|---|---|
| extends keyof |
Name | Type |
|---|---|
|
|
| ( |
|
|
void
EventTarget.removeEventListener
▸ removeEventListener(type, listener, options?): void
Name | Type |
|---|---|
|
|
|
|
|
|
void
EventTarget.removeEventListener
▸ reportError(e): void
Name | Type |
|---|---|
|
|
void
WindowOrWorkerGlobalScope.reportError
▸ requestAnimationFrame(callback): number
Name | Type |
|---|---|
|
|
number
AnimationFrameProvider.requestAnimationFrame
▸ requestIdleCallback(callback, options?): number
Name | Type |
|---|---|
|
|
|
|
number
▸ resizeBy(x, y): void
Name | Type |
|---|---|
|
|
|
|
void
▸ resizeTo(width, height): void
Name | Type |
|---|---|
|
|
|
|
void
▸ scroll(options?): void
Name | Type |
|---|---|
|
|
void
▸ scroll(x, y): void
Name | Type |
|---|---|
|
|
|
|
void
▸ scrollBy(options?): void
Name | Type |
|---|---|
|
|
void
▸ scrollBy(x, y): void
Name | Type |
|---|---|
|
|
|
|
void
▸ scrollTo(options?): void
Name | Type |
|---|---|
|
|
void
▸ scrollTo(x, y): void
Name | Type |
|---|---|
|
|
|
|
void
▸ setInterval(handler, timeout?, ...arguments): number
Name | Type |
|---|---|
|
|
|
|
|
|
number
WindowOrWorkerGlobalScope.setInterval
▸ setTimeout(handler, timeout?, ...arguments): number
Name | Type |
|---|---|
|
|
|
|
|
|
number
WindowOrWorkerGlobalScope.setTimeout
▸ stop(): void
Cancels the document load.
void
▸ structuredClone<T>(value, options?): T
Name | Type |
|---|---|
|
|
Name | Type |
|---|---|
|
|
|
|
T
WindowOrWorkerGlobalScope.structuredClone
Ƭ DesignerApi: report/types
Ƭ LocalizationResourceBundle: report/types
Ƭ ViewerApi: report/types
• Window: Object
• new Window(): Window
Name | Type |
|---|---|
|
prototype: Window