Window

Represents all Events of the browser window object as Event-flows

Properties

Link copied to clipboard
open override val aborts: Listener<Event, Window>

occurs when the loading of a media is aborted

Link copied to clipboard
open override val abortsCaptured: Listener<Event, Window>

occurs when the loading of a media is aborted

Link copied to clipboard
open override val afterprints: Listener<Event, Window>

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard
open override val animationends: Listener<Event, Window>

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when a CSS Animation has completed

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard
open override val animationstarts: Listener<Event, Window>

occurs when a CSS Animation has started

Link copied to clipboard

occurs when a CSS Animation has started

Link copied to clipboard
open override val beforeprints: Listener<Event, Window>

occurs when a page is about to be printed

Link copied to clipboard

occurs when a page is about to be printed

Link copied to clipboard
open override val beforeunloads: Listener<Event, Window>

occurs before the document is about to be unloaded

Link copied to clipboard

occurs before the document is about to be unloaded

Link copied to clipboard
open override val blurs: Listener<FocusEvent, Window>

occurs when an element loses focus

Link copied to clipboard

occurs when an element loses focus

Link copied to clipboard
open override val canplays: Listener<Event, Window>

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard
open override val canplaysCaptured: Listener<Event, Window>

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard
open override val canplaythroughs: Listener<Event, Window>

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard
open override val changes: Listener<Event, Window>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard
open override val changesCaptured: Listener<Event, Window>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard
open override val clicks: Listener<MouseEvent, Window>

occurs when the user clicks on an element

Link copied to clipboard

occurs when the user clicks on an element

Link copied to clipboard
open override val contextmenus: Listener<MouseEvent, Window>

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard
open override val copys: Listener<ClipboardEvent, Window>

occurs when the user copies the content of an element

Link copied to clipboard

occurs when the user copies the content of an element

Link copied to clipboard
open override val cuts: Listener<ClipboardEvent, Window>

occurs when the user cuts the content of an element

Link copied to clipboard

occurs when the user cuts the content of an element

Link copied to clipboard
open override val dblclicks: Listener<MouseEvent, Window>

occurs when the user double-clicks on an element

Link copied to clipboard

occurs when the user double-clicks on an element

Link copied to clipboard
open override val dragends: Listener<DragEvent, Window>

occurs when the user has finished dragging an element

Link copied to clipboard

occurs when the user has finished dragging an element

Link copied to clipboard
open override val dragenters: Listener<DragEvent, Window>

occurs when the dragged element enters the drop target

Link copied to clipboard

occurs when the dragged element enters the drop target

Link copied to clipboard
open override val dragleaves: Listener<DragEvent, Window>

occurs when the dragged element leaves the drop target

Link copied to clipboard

occurs when the dragged element leaves the drop target

Link copied to clipboard
open override val dragovers: Listener<DragEvent, Window>

occurs when the dragged element is over the drop target

Link copied to clipboard

occurs when the dragged element is over the drop target

Link copied to clipboard
open override val drags: Listener<DragEvent, Window>

occurs when an element is being dragged

Link copied to clipboard
open override val dragsCaptured: Listener<DragEvent, Window>

occurs when an element is being dragged

Link copied to clipboard
open override val dragstarts: Listener<DragEvent, Window>

occurs when the user starts to drag an element

Link copied to clipboard

occurs when the user starts to drag an element

Link copied to clipboard
open override val drops: Listener<DragEvent, Window>

occurs when the dragged element is dropped on the drop target

Link copied to clipboard
open override val dropsCaptured: Listener<DragEvent, Window>

occurs when the dragged element is dropped on the drop target

Link copied to clipboard
open override val durationchanges: Listener<Event, Window>

occurs when the duration of the media is changed

Link copied to clipboard

occurs when the duration of the media is changed

Link copied to clipboard
open override val endeds: Listener<Event, Window>

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard
open override val endedsCaptured: Listener<Event, Window>

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard
open override val errors: Listener<Event, Window>

occurs when a CSS Animation has completed

Link copied to clipboard
open override val errorsCaptured: Listener<Event, Window>

occurs when a CSS Animation has completed

Link copied to clipboard
open override val focusins: Listener<FocusEvent, Window>

occurs when an element is about to get focus

Link copied to clipboard

occurs when an element is about to get focus

Link copied to clipboard
open override val focusouts: Listener<FocusEvent, Window>

occurs when an element is about to lose focus

Link copied to clipboard

occurs when an element is about to lose focus

Link copied to clipboard
open override val focuss: Listener<FocusEvent, Window>

occurs when an element gets focus

Link copied to clipboard

occurs when an element gets focus

Link copied to clipboard
open override val fullscreenchanges: Listener<Event, Window>

occurs when an element is displayed in fullscreen mode

Link copied to clipboard

occurs when an element is displayed in fullscreen mode

Link copied to clipboard
open override val fullscreenerrors: Listener<Event, Window>

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard
open override val inputs: Listener<Event, Window>

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard
open override val inputsCaptured: Listener<Event, Window>

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard
open override val invalids: Listener<Event, Window>

occurs when an element is invalid

Link copied to clipboard
open override val invalidsCaptured: Listener<Event, Window>

occurs when an element is invalid

Link copied to clipboard
open override val keydowns: Listener<KeyboardEvent, Window>

occurs when the user is pressing a key

Link copied to clipboard

occurs when the user is pressing a key

Link copied to clipboard
open override val keypresss: Listener<KeyboardEvent, Window>

occurs when the user presses a key

Link copied to clipboard

occurs when the user presses a key

Link copied to clipboard
open override val keyups: Listener<KeyboardEvent, Window>

occurs when the user releases a key

Link copied to clipboard

occurs when the user releases a key

Link copied to clipboard
open override val loadeddatas: Listener<Event, Window>

occurs when media data is loaded

Link copied to clipboard

occurs when media data is loaded

Link copied to clipboard
open override val loadedmetadatas: Listener<Event, Window>

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard
open override val loads: Listener<Event, Window>

occurs when an object has loaded

Link copied to clipboard
open override val loadsCaptured: Listener<Event, Window>

occurs when an object has loaded

Link copied to clipboard

occurs when the browser starts looking for the specified media

Link copied to clipboard

occurs when the browser starts looking for the specified media

Link copied to clipboard
open override val messages: Listener<Event, Window>

occurs when a message is received through the event source

Link copied to clipboard
open override val messagesCaptured: Listener<Event, Window>

occurs when a message is received through the event source

Link copied to clipboard
open override val mousedowns: Listener<MouseEvent, Window>

occurs when the user presses a mouse button over an element

Link copied to clipboard

occurs when the user presses a mouse button over an element

Link copied to clipboard
open override val mouseenters: Listener<MouseEvent, Window>

occurs when the pointer is moved onto an element

Link copied to clipboard

occurs when the pointer is moved onto an element

Link copied to clipboard
open override val mouseleaves: Listener<MouseEvent, Window>

occurs when the pointer is moved out of an element

Link copied to clipboard

occurs when the pointer is moved out of an element

Link copied to clipboard
open override val mousemoves: Listener<MouseEvent, Window>

occurs when the pointer is moving while it is over an element

Link copied to clipboard

occurs when the pointer is moving while it is over an element

Link copied to clipboard
open override val mouseouts: Listener<MouseEvent, Window>

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard
open override val mouseovers: Listener<MouseEvent, Window>

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard
open override val mouseups: Listener<MouseEvent, Window>

occurs when a user releases a mouse button over an element

Link copied to clipboard

occurs when a user releases a mouse button over an element

Link copied to clipboard
open override val offlines: Listener<Event, Window>

occurs when the browser starts to work offline

Link copied to clipboard
open override val offlinesCaptured: Listener<Event, Window>

occurs when the browser starts to work offline

Link copied to clipboard
open override val onlines: Listener<Event, Window>

occurs when the browser starts to work online

Link copied to clipboard
open override val onlinesCaptured: Listener<Event, Window>

occurs when the browser starts to work online

Link copied to clipboard
open override val opens: Listener<Event, Window>

occurs when a connection with the event source is opened

Link copied to clipboard
open override val opensCaptured: Listener<Event, Window>

occurs when a connection with the event source is opened

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard
open override val pastes: Listener<ClipboardEvent, Window>

occurs when the user pastes some content in an element

Link copied to clipboard

occurs when the user pastes some content in an element

Link copied to clipboard
open override val pauses: Listener<Event, Window>

occurs when the media is paused either by the user or programmatically

Link copied to clipboard
open override val pausesCaptured: Listener<Event, Window>

occurs when the media is paused either by the user or programmatically

Link copied to clipboard
open override val playings: Listener<Event, Window>

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard
open override val playingsCaptured: Listener<Event, Window>

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard
open override val plays: Listener<Event, Window>

occurs when the media has been started or is no longer paused

Link copied to clipboard
open override val playsCaptured: Listener<Event, Window>

occurs when the media has been started or is no longer paused

Link copied to clipboard
open override val popstates: Listener<PopStateEvent, Window>

occurs when the window's history changes

Link copied to clipboard

occurs when the window's history changes

Link copied to clipboard
open override val progresss: Listener<Event, Window>

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard
open override val progresssCaptured: Listener<Event, Window>

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard
open override val ratechanges: Listener<Event, Window>

occurs when the playing speed of the media is changed

Link copied to clipboard

occurs when the playing speed of the media is changed

Link copied to clipboard
open override val resets: Listener<Event, Window>

occurs when a form is reset

Link copied to clipboard
open override val resetsCaptured: Listener<Event, Window>

occurs when a form is reset

Link copied to clipboard
open override val resizes: Listener<Event, Window>

occurs when the document view is resized

Link copied to clipboard
open override val resizesCaptured: Listener<Event, Window>

occurs when the document view is resized

Link copied to clipboard
open override val scrolls: Listener<Event, Window>

occurs when an element's scrollbar is being scrolled

Link copied to clipboard
open override val scrollsCaptured: Listener<Event, Window>

occurs when an element's scrollbar is being scrolled

Link copied to clipboard
open override val searchs: Listener<Event, Window>

occurs when the user writes something in a search field (for )

Link copied to clipboard
open override val searchsCaptured: Listener<Event, Window>

occurs when the user writes something in a search field (for )

Link copied to clipboard
open override val seekeds: Listener<Event, Window>

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard
open override val seekedsCaptured: Listener<Event, Window>

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard
open override val seekings: Listener<Event, Window>

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard
open override val seekingsCaptured: Listener<Event, Window>

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard
open override val selects: Listener<Event, Window>

occurs after the user selects some text (for and WheelEvent, Window>

occurs when the mouse wheel rolls up or down over an element