report/types/window
The following sections describe the module: report/types/window.
Interfaces
Type Aliases
Variables
Interfaces
Interface: Window
A window containing a DOM document; the document property points to the DOM document loaded in that window.
Hierarchy
EventTarget
AnimationFrameProvider
GlobalEventHandlers
WindowEventHandlers
WindowLocalStorage
WindowOrWorkerGlobalScope
WindowSessionStorage
↳
Window
Indexable
▪ [index: number
]: Window
Table of contents
Properties
Accessors
Methods
Properties
GrapeCity
• GrapeCity: Object
Type declaration
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
• WynBi: any
WynDashboards
• WynDashboards: Object
Type declaration
Name | Type |
---|---|
| ( |
| ( |
create: (type
: "DashboardDesigner"
, config
: WynBIOption
& internal
) => DashboardDesigner
(type
: "DashboardViewer"
, config
: WynBIOption
& internal
) => DashboardViewer
createViewerLite: (config
: WynBIOption
& internal
) => DashboardLiteViewer
caches
• Readonly
caches: CacheStorage
Available only in secure contexts.
Inherited from
WindowOrWorkerGlobalScope.caches
clientInformation
• Readonly
clientInformation: Navigator
Deprecated
This is a legacy alias of navigator
.
closed
• Readonly
closed: boolean
Returns 'true' if the window has been closed, otherwise 'false '.
crossOriginIsolated
• Readonly
crossOriginIsolated: boolean
Inherited from
WindowOrWorkerGlobalScope.crossOriginIsolated
crypto
• Readonly
crypto: Crypto
Inherited from
WindowOrWorkerGlobalScope.crypto
customElements
• Readonly
customElements: CustomElementRegistry
Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.
devicePixelRatio
• Readonly
devicePixelRatio: number
document
• Readonly
document: Document
event
• Readonly
event: undefined
| Event
Deprecated
external
• Readonly
external: External
Deprecated
frameElement
• Readonly
frameElement: null
| Element
frames
• Readonly
frames: Window
grapecity
• grapecity: Object
Type declaration
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
history
• Readonly
history: History
indexedDB
• Readonly
indexedDB: IDBFactory
Inherited from
WindowOrWorkerGlobalScope.indexedDB
innerHeight
• Readonly
innerHeight: number
innerWidth
• Readonly
innerWidth: number
isSecureContext
• Readonly
isSecureContext: boolean
Inherited from
WindowOrWorkerGlobalScope.isSecureContext
length
• Readonly
length: number
localStorage
• Readonly
localStorage: Storage
Inherited from
WindowLocalStorage.localStorage
locationbar
• Readonly
locationbar: BarProp
Returns true if the location bar is visible; otherwise, returns false.
menubar
• Readonly
menubar: BarProp
Returns true if the menu bar is visible; otherwise, returns false.
name
• name: string
navigator
• Readonly
navigator: Navigator
onabort
• onabort: null
| (this
: GlobalEventHandlers
, ev
: UIEvent
) => any
Fires when the user aborts the download.
Param
The event.
Inherited from
GlobalEventHandlers.onabort
onafterprint
• onafterprint: null
| (this
: WindowEventHandlers
, ev
: Event
) => any
Inherited from
WindowEventHandlers.onafterprint
onanimationcancel
• onanimationcancel: null
| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Inherited from
GlobalEventHandlers.onanimationcancel
onanimationend
• onanimationend: null
| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Inherited from
GlobalEventHandlers.onanimationend
onanimationiteration
• onanimationiteration: null
| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Inherited from
GlobalEventHandlers.onanimationiteration
onanimationstart
• onanimationstart: null
| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Inherited from
GlobalEventHandlers.onanimationstart
onauxclick
• onauxclick: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Inherited from
GlobalEventHandlers.onauxclick
onbeforeinput
• onbeforeinput: null
| (this
: GlobalEventHandlers
, ev
: InputEvent
) => any
Inherited from
GlobalEventHandlers.onbeforeinput
onbeforeprint
• onbeforeprint: null
| (this
: WindowEventHandlers
, ev
: Event
) => any
Inherited from
WindowEventHandlers.onbeforeprint
onbeforeunload
• onbeforeunload: null
| (this
: WindowEventHandlers
, ev
: BeforeUnloadEvent
) => any
Inherited from
WindowEventHandlers.onbeforeunload
onblur
• onblur: null
| (this
: GlobalEventHandlers
, ev
: FocusEvent
) => any
Fires when the object loses the input focus.
Param
The focus event.
Inherited from
GlobalEventHandlers.onblur
oncancel
• oncancel: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.oncancel
oncanplay
• oncanplay: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when playback is possible but requires further buffering.
Param
The event.
Inherited from
GlobalEventHandlers.oncanplay
oncanplaythrough
• oncanplaythrough: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.oncanplaythrough
onchange
• onchange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the contents of the object or selection have changed.
Param
The event.
Inherited from
GlobalEventHandlers.onchange
onclick
• onclick: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user clicks the left mouse button on the object
Param
The mouse event.
Inherited from
GlobalEventHandlers.onclick
onclose
• onclose: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.onclose
oncontextmenu
• 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.
Inherited from
GlobalEventHandlers.oncontextmenu
oncopy
• oncopy: null
| (this
: GlobalEventHandlers
, ev
: ClipboardEvent
) => any
Inherited from
GlobalEventHandlers.oncopy
oncuechange
• oncuechange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.oncuechange
oncut
• oncut: null
| (this
: GlobalEventHandlers
, ev
: ClipboardEvent
) => any
Inherited from
GlobalEventHandlers.oncut
ondblclick
• ondblclick: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user double-clicks the object.
Param
The mouse event.
Inherited from
GlobalEventHandlers.ondblclick
ondevicemotion
• ondevicemotion: null
| (this
: Window
, ev
: DeviceMotionEvent
) => any
Available only in secure contexts.
ondeviceorientation
• ondeviceorientation: null
| (this
: Window
, ev
: DeviceOrientationEvent
) => any
Available only in secure contexts.
ondrag
• ondrag: null
| (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the source object continuously during a drag operation.
Param
The event.
Inherited from
GlobalEventHandlers.ondrag
ondragend
• 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.
Inherited from
GlobalEventHandlers.ondragend
ondragenter
• 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.
Inherited from
GlobalEventHandlers.ondragenter
ondragleave
• 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.
Inherited from
GlobalEventHandlers.ondragleave
ondragover
• 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.
Inherited from
GlobalEventHandlers.ondragover
ondragstart
• 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.
Inherited from
GlobalEventHandlers.ondragstart
ondrop
• ondrop: null
| (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Inherited from
GlobalEventHandlers.ondrop
ondurationchange
• ondurationchange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the duration attribute is updated.
Param
The event.
Inherited from
GlobalEventHandlers.ondurationchange
onemptied
• onemptied: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the media element is reset to its initial state.
Param
The event.
Inherited from
GlobalEventHandlers.onemptied
onended
• onended: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the end of playback is reached.
Param
The event
Inherited from
GlobalEventHandlers.onended
onerror
• onerror: OnErrorEventHandler
Fires when an error occurs during object loading.
Param
The event.
Inherited from
GlobalEventHandlers.onerror
onfocus
• onfocus: null
| (this
: GlobalEventHandlers
, ev
: FocusEvent
) => any
Fires when the object receives focus.
Param
The event.
Inherited from
GlobalEventHandlers.onfocus
onformdata
• onformdata: null
| (this
: GlobalEventHandlers
, ev
: FormDataEvent
) => any
Inherited from
GlobalEventHandlers.onformdata
ongamepadconnected
• ongamepadconnected: null
| (this
: WindowEventHandlers
, ev
: GamepadEvent
) => any
Inherited from
WindowEventHandlers.ongamepadconnected
ongamepaddisconnected
• ongamepaddisconnected: null
| (this
: WindowEventHandlers
, ev
: GamepadEvent
) => any
Inherited from
WindowEventHandlers.ongamepaddisconnected
ongotpointercapture
• ongotpointercapture: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
GlobalEventHandlers.ongotpointercapture
onhashchange
• onhashchange: null
| (this
: WindowEventHandlers
, ev
: HashChangeEvent
) => any
Inherited from
WindowEventHandlers.onhashchange
oninput
• oninput: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.oninput
oninvalid
• oninvalid: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.oninvalid
onkeydown
• onkeydown: null
| (this
: GlobalEventHandlers
, ev
: KeyboardEvent
) => any
Fires when the user presses a key.
Param
The keyboard event
Inherited from
GlobalEventHandlers.onkeydown
onkeypress
• onkeypress: null
| (this
: GlobalEventHandlers
, ev
: KeyboardEvent
) => any
Fires when the user presses an alphanumeric key.
Param
The event.
Deprecated
Inherited from
GlobalEventHandlers.onkeypress
onkeyup
• onkeyup: null
| (this
: GlobalEventHandlers
, ev
: KeyboardEvent
) => any
Fires when the user releases a key.
Param
The keyboard event.
Inherited from
GlobalEventHandlers.onkeyup
onlanguagechange
• onlanguagechange: null
| (this
: WindowEventHandlers
, ev
: Event
) => any
Inherited from
WindowEventHandlers.onlanguagechange
onload
• onload: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires immediately after the browser loads the object.
Param
The event.
Inherited from
GlobalEventHandlers.onload
onloadeddata
• onloadeddata: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when media data is loaded at the current playback position.
Param
The event.
Inherited from
GlobalEventHandlers.onloadeddata
onloadedmetadata
• onloadedmetadata: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the duration and dimensions of the media have been determined.
Param
The event.
Inherited from
GlobalEventHandlers.onloadedmetadata
onloadstart
• onloadstart: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when Internet Explorer begins looking for media data.
Param
The event.
Inherited from
GlobalEventHandlers.onloadstart
onlostpointercapture
• onlostpointercapture: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
GlobalEventHandlers.onlostpointercapture
onmessage
• onmessage: null
| (this
: WindowEventHandlers
, ev
: MessageEvent
<any
>) => any
Inherited from
WindowEventHandlers.onmessage
onmessageerror
• onmessageerror: null
| (this
: WindowEventHandlers
, ev
: MessageEvent
<any
>) => any
Inherited from
WindowEventHandlers.onmessageerror
onmousedown
• onmousedown: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user clicks the object with either mouse button.
Param
The mouse event.
Inherited from
GlobalEventHandlers.onmousedown
onmouseenter
• onmouseenter: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Inherited from
GlobalEventHandlers.onmouseenter
onmouseleave
• onmouseleave: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Inherited from
GlobalEventHandlers.onmouseleave
onmousemove
• onmousemove: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user moves the mouse over the object.
Param
The mouse event.
Inherited from
GlobalEventHandlers.onmousemove
onmouseout
• 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.
Inherited from
GlobalEventHandlers.onmouseout
onmouseover
• onmouseover: null
| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user moves the mouse pointer into the object.
Param
The mouse event.
Inherited from
GlobalEventHandlers.onmouseover
onmouseup
• 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.
Inherited from
GlobalEventHandlers.onmouseup
onoffline
• onoffline: null
| (this
: WindowEventHandlers
, ev
: Event
) => any
Inherited from
WindowEventHandlers.onoffline
ononline
• ononline: null
| (this
: WindowEventHandlers
, ev
: Event
) => any
Inherited from
WindowEventHandlers.ononline
onorientationchange
• onorientationchange: null
| (this
: Window
, ev
: Event
) => any
Deprecated
onpagehide
• onpagehide: null
| (this
: WindowEventHandlers
, ev
: PageTransitionEvent
) => any
Inherited from
WindowEventHandlers.onpagehide
onpageshow
• onpageshow: null
| (this
: WindowEventHandlers
, ev
: PageTransitionEvent
) => any
Inherited from
WindowEventHandlers.onpageshow
onpaste
• onpaste: null
| (this
: GlobalEventHandlers
, ev
: ClipboardEvent
) => any
Inherited from
GlobalEventHandlers.onpaste
onpause
• onpause: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when playback is paused.
Param
The event.
Inherited from
GlobalEventHandlers.onpause
onplay
• onplay: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the play method is requested.
Param
The event.
Inherited from
GlobalEventHandlers.onplay
onplaying
• onplaying: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the audio or video has started playing.
Param
The event.
Inherited from
GlobalEventHandlers.onplaying
onpointercancel
• onpointercancel: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
GlobalEventHandlers.onpointercancel
onpointerdown
• onpointerdown: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
GlobalEventHandlers.onpointerdown
onpointerenter
• onpointerenter: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
GlobalEventHandlers.onpointerenter
onpointerleave
• onpointerleave: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
GlobalEventHandlers.onpointerleave
onpointermove
• onpointermove: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
GlobalEventHandlers.onpointermove
onpointerout
• onpointerout: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
GlobalEventHandlers.onpointerout
onpointerover
• onpointerover: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
GlobalEventHandlers.onpointerover
onpointerup
• onpointerup: null
| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
GlobalEventHandlers.onpointerup
onpopstate
• onpopstate: null
| (this
: WindowEventHandlers
, ev
: PopStateEvent
) => any
Inherited from
WindowEventHandlers.onpopstate
onprogress
• onprogress: null
| (this
: GlobalEventHandlers
, ev
: ProgressEvent
<EventTarget
>) => any
Occurs to indicate progress while downloading media data.
Param
The event.
Inherited from
GlobalEventHandlers.onprogress
onratechange
• onratechange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the playback rate is increased or decreased.
Param
The event.
Inherited from
GlobalEventHandlers.onratechange
onrejectionhandled
• onrejectionhandled: null
| (this
: WindowEventHandlers
, ev
: PromiseRejectionEvent
) => any
Inherited from
WindowEventHandlers.onrejectionhandled
onreset
• onreset: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the user resets a form.
Param
The event.
Inherited from
GlobalEventHandlers.onreset
onresize
• onresize: null
| (this
: GlobalEventHandlers
, ev
: UIEvent
) => any
Inherited from
GlobalEventHandlers.onresize
onscroll
• 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.
Inherited from
GlobalEventHandlers.onscroll
onscrollend
• onscrollend: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.onscrollend
onsecuritypolicyviolation
• onsecuritypolicyviolation: null
| (this
: GlobalEventHandlers
, ev
: SecurityPolicyViolationEvent
) => any
Inherited from
GlobalEventHandlers.onsecuritypolicyviolation
onseeked
• onseeked: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the seek operation ends.
Param
The event.
Inherited from
GlobalEventHandlers.onseeked
onseeking
• onseeking: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the current playback position is moved.
Param
The event.
Inherited from
GlobalEventHandlers.onseeking
onselect
• onselect: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the current selection changes.
Param
The event.
Inherited from
GlobalEventHandlers.onselect
onselectionchange
• onselectionchange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.onselectionchange
onselectstart
• onselectstart: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.onselectstart
onslotchange
• onslotchange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.onslotchange
onstalled
• onstalled: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the download has stopped.
Param
The event.
Inherited from
GlobalEventHandlers.onstalled
onstorage
• onstorage: null
| (this
: WindowEventHandlers
, ev
: StorageEvent
) => any
Inherited from
WindowEventHandlers.onstorage
onsubmit
• onsubmit: null
| (this
: GlobalEventHandlers
, ev
: SubmitEvent
) => any
Inherited from
GlobalEventHandlers.onsubmit
onsuspend
• onsuspend: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs if the load operation has been intentionally halted.
Param
The event.
Inherited from
GlobalEventHandlers.onsuspend
ontimeupdate
• ontimeupdate: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs to indicate the current playback position.
Param
The event.
Inherited from
GlobalEventHandlers.ontimeupdate
ontoggle
• ontoggle: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
GlobalEventHandlers.ontoggle
ontouchcancel
• Optional
ontouchcancel: null
| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Inherited from
GlobalEventHandlers.ontouchcancel
ontouchend
• Optional
ontouchend: null
| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Inherited from
GlobalEventHandlers.ontouchend
ontouchmove
• Optional
ontouchmove: null
| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Inherited from
GlobalEventHandlers.ontouchmove
ontouchstart
• Optional
ontouchstart: null
| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Inherited from
GlobalEventHandlers.ontouchstart
ontransitioncancel
• ontransitioncancel: null
| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Inherited from
GlobalEventHandlers.ontransitioncancel
ontransitionend
• ontransitionend: null
| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Inherited from
GlobalEventHandlers.ontransitionend
ontransitionrun
• ontransitionrun: null
| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Inherited from
GlobalEventHandlers.ontransitionrun
ontransitionstart
• ontransitionstart: null
| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Inherited from
GlobalEventHandlers.ontransitionstart
onunhandledrejection
• onunhandledrejection: null
| (this
: WindowEventHandlers
, ev
: PromiseRejectionEvent
) => any
Inherited from
WindowEventHandlers.onunhandledrejection
onunload
• onunload: null
| (this
: WindowEventHandlers
, ev
: Event
) => any
Inherited from
WindowEventHandlers.onunload
onvolumechange
• onvolumechange: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the volume is changed, or playback is muted or unmuted.
Param
The event.
Inherited from
GlobalEventHandlers.onvolumechange
onwaiting
• 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.
Inherited from
GlobalEventHandlers.onwaiting
onwebkitanimationend
• onwebkitanimationend: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Deprecated
This is a legacy alias of onanimationend
.
Inherited from
GlobalEventHandlers.onwebkitanimationend
onwebkitanimationiteration
• onwebkitanimationiteration: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Deprecated
This is a legacy alias of onanimationiteration
.
Inherited from
GlobalEventHandlers.onwebkitanimationiteration
onwebkitanimationstart
• onwebkitanimationstart: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Deprecated
This is a legacy alias of onanimationstart
.
Inherited from
GlobalEventHandlers.onwebkitanimationstart
onwebkittransitionend
• onwebkittransitionend: null
| (this
: GlobalEventHandlers
, ev
: Event
) => any
Deprecated
This is a legacy alias of ontransitionend
.
Inherited from
GlobalEventHandlers.onwebkittransitionend
onwheel
• onwheel: null
| (this
: GlobalEventHandlers
, ev
: WheelEvent
) => any
Inherited from
GlobalEventHandlers.onwheel
opener
• opener: any
orientation
• Readonly
orientation: number
Deprecated
origin
• Readonly
origin: string
Inherited from
WindowOrWorkerGlobalScope.origin
outerHeight
• Readonly
outerHeight: number
outerWidth
• Readonly
outerWidth: number
pageXOffset
• Readonly
pageXOffset: number
Deprecated
This is a legacy alias of scrollX
.
pageYOffset
• Readonly
pageYOffset: number
Deprecated
This is a legacy alias of scrollY
.
parent
• 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.
performance
• Readonly
performance: Performance
Inherited from
WindowOrWorkerGlobalScope.performance
personalbar
• Readonly
personalbar: BarProp
Returns true if the personal bar is visible; otherwise, returns false.
screen
• Readonly
screen: Screen
screenLeft
• Readonly
screenLeft: number
screenTop
• Readonly
screenTop: number
screenX
• Readonly
screenX: number
screenY
• Readonly
screenY: number
scrollX
• Readonly
scrollX: number
scrollY
• Readonly
scrollY: number
scrollbars
• Readonly
scrollbars: BarProp
Returns true if the scrollbars are visible; otherwise, returns false.
self
• Readonly
self: Window
& typeof globalThis
sessionStorage
• Readonly
sessionStorage: Storage
Inherited from
WindowSessionStorage.sessionStorage
speechSynthesis
• Readonly
speechSynthesis: SpeechSynthesis
status
• status: string
Deprecated
statusbar
• Readonly
statusbar: BarProp
Returns true if the status bar is visible; otherwise, returns false.
toolbar
• Readonly
toolbar: BarProp
Returns true if the toolbar is visible; otherwise, returns false.
top
• Readonly
top: null
| Window
visualViewport
• Readonly
visualViewport: null
| VisualViewport
window
• Readonly
window: Window
& typeof globalThis
Accessors
location
• get
location(): Location
Returns
Location
• set
location(href
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Methods
addEventListener
▸ addEventListener<K
>(type
, listener
, options?
): void
Type parameters
Name | Type |
---|---|
| extends keyof |
Parameters
Name | Type |
---|---|
|
|
| ( |
|
|
Returns
void
Overrides
EventTarget.addEventListener
▸ addEventListener(type
, listener
, options?
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
void
Overrides
EventTarget.addEventListener
alert
▸ alert(message?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
atob
▸ atob(data
): string
Parameters
Name | Type |
---|---|
|
|
Returns
string
Inherited from
WindowOrWorkerGlobalScope.atob
blur
▸ blur(): void
Returns
void
btoa
▸ btoa(data
): string
Parameters
Name | Type |
---|---|
|
|
Returns
string
Inherited from
WindowOrWorkerGlobalScope.btoa
cancelAnimationFrame
▸ cancelAnimationFrame(handle
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
AnimationFrameProvider.cancelAnimationFrame
cancelIdleCallback
▸ cancelIdleCallback(handle
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
captureEvents
▸ captureEvents(): void
Returns
void
Deprecated
clearInterval
▸ clearInterval(id
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
WindowOrWorkerGlobalScope.clearInterval
clearTimeout
▸ clearTimeout(id
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
WindowOrWorkerGlobalScope.clearTimeout
close
▸ close(): void
Closes the window.
Returns
void
confirm
▸ confirm(message?
): boolean
Parameters
Name | Type |
---|---|
|
|
Returns
boolean
createImageBitmap
▸ createImageBitmap(image
, options?
): Promise
<ImageBitmap
>
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
Promise
<ImageBitmap
>
Inherited from
WindowOrWorkerGlobalScope.createImageBitmap
▸ createImageBitmap(image
, sx
, sy
, sw
, sh
, options?
): Promise
<ImageBitmap
>
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
Promise
<ImageBitmap
>
Inherited from
WindowOrWorkerGlobalScope.createImageBitmap
dispatchEvent
▸ 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.
Parameters
Name | Type |
---|---|
|
|
Returns
boolean
Inherited from
EventTarget.dispatchEvent
fetch
▸ fetch(input
, init?
): Promise
<Response
>
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
Promise
<Response
>
Inherited from
WindowOrWorkerGlobalScope.fetch
focus
▸ focus(): void
Moves the focus to the window's browsing context, if any.
Returns
void
getComputedStyle
▸ getComputedStyle(elt
, pseudoElt?
): CSSStyleDeclaration
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
CSSStyleDeclaration
getSelection
▸ getSelection(): null
| Selection
Returns
null
| Selection
matchMedia
▸ matchMedia(query
): MediaQueryList
Parameters
Name | Type |
---|---|
|
|
Returns
MediaQueryList
moveBy
▸ moveBy(x
, y
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
moveTo
▸ moveTo(x
, y
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
open
▸ open(url?
, target?
, features?
): null
| Window
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
null
| Window
postMessage
▸ 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.
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
void
▸ postMessage(message
, options?
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
▸ print(): void
Returns
void
prompt
▸ prompt(message?
, _default?
): null
| string
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
null
| string
queueMicrotask
▸ queueMicrotask(callback
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
WindowOrWorkerGlobalScope.queueMicrotask
releaseEvents
▸ releaseEvents(): void
Returns
void
Deprecated
removeEventListener
▸ removeEventListener<K
>(type
, listener
, options?
): void
Type parameters
Name | Type |
---|---|
| extends keyof |
Parameters
Name | Type |
---|---|
|
|
| ( |
|
|
Returns
void
Overrides
EventTarget.removeEventListener
▸ removeEventListener(type
, listener
, options?
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
void
Overrides
EventTarget.removeEventListener
reportError
▸ reportError(e
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
WindowOrWorkerGlobalScope.reportError
requestAnimationFrame
▸ requestAnimationFrame(callback
): number
Parameters
Name | Type |
---|---|
|
|
Returns
number
Inherited from
AnimationFrameProvider.requestAnimationFrame
requestIdleCallback
▸ requestIdleCallback(callback
, options?
): number
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
number
resizeBy
▸ resizeBy(x
, y
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
resizeTo
▸ resizeTo(width
, height
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
scroll
▸ scroll(options?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
▸ scroll(x
, y
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
scrollBy
▸ scrollBy(options?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
▸ scrollBy(x
, y
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
scrollTo
▸ scrollTo(options?
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
▸ scrollTo(x
, y
): void
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
void
setInterval
▸ setInterval(handler
, timeout?
, ...arguments
): number
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
number
Inherited from
WindowOrWorkerGlobalScope.setInterval
setTimeout
▸ setTimeout(handler
, timeout?
, ...arguments
): number
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
number
Inherited from
WindowOrWorkerGlobalScope.setTimeout
stop
▸ stop(): void
Cancels the document load.
Returns
void
structuredClone
▸ structuredClone<T
>(value
, options?
): T
Type parameters
Name | Type |
---|---|
|
|
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
T
Inherited from
WindowOrWorkerGlobalScope.structuredClone
Type Aliases
DesignerApi
Ƭ DesignerApi: report/types
LocalizationResourceBundle
Ƭ LocalizationResourceBundle: report/types
ViewerApi
Ƭ ViewerApi: report/types
Variables
Window
• Window: Object
Call signature
• new Window(): Window
Returns
Type declaration
Name | Type |
---|---|
|
prototype: Window