Window class
Top-level container for the current browser tab or window.
In a web browser, each window has a Window object, but within the context of a script, this object represents only the current window. Each other window, tab, and iframe has its own Window object.
Each window contains a Document object, which contains all of the window's content.
Use the top-level window object to access the current window.
For example:
// Draw a scene when the window repaints.
drawScene(num delta) {...}
window.animationFrame.then(drawScene);.
// Write to the console.
window.console.log('Jinkies!');
window.console.error('Jeepers!');
Note: This class represents only the current window, while WindowBase is a representation of any window, including other tabs, windows, and frames.
See also
Other resources
- DOM Window from MDN.
- Window from the W3C.
- Inheritance
- Object
- EventTarget
- Window
- Implements
- Annotations
- @DocsEditable()
- @DomName('Window')
- @Native("Window,DOMWindow")
Properties
- animationFrame → Future<num>
-
Returns a Future that completes just before the window is about to
repaint so the user can draw an animation frame. [...]
read-only
- applicationCache → ApplicationCache
-
The application cache for this window. [...]
@DocsEditable(), @DomName('Window.applicationCache'), final
- caches → CacheStorage
-
@DocsEditable(), @DomName('Window.caches'), @Experimental(), final
- closed → bool
-
@DocsEditable(), @DomName('Window.closed'), final
- console → Console
-
The debugging console for this window.
@DomName('Window.console'), read-only
- crypto → Crypto
-
Entrypoint for the browser's cryptographic functions. [...]
@DocsEditable(), @DomName('Window.crypto'), @Experimental(), final
- defaultStatus ↔ String
-
Deprecated*.
@DocsEditable(), @DomName('Window.defaultStatus'), @Experimental(), read / write
- defaultstatus ↔ String
-
Deprecated*.
@DocsEditable(), @DomName('Window.defaultstatus'), @Experimental(), read / write
- devicePixelRatio → double
-
The ratio between physical pixels and logical CSS pixels. [...]
@DocsEditable(), @DomName('Window.devicePixelRatio'), @Experimental(), final
- document → Document
-
The newest document in this window. [...]
read-only
- history → History
-
The current session history for this window's newest document. [...]
@DocsEditable(), @DomName('Window.history'), final
- indexedDB → IdbFactory
-
Gets an instance of the Indexed DB factory to being using Indexed DB. [...]
@Experimental(), @SupportedBrowser(SupportedBrowser.CHROME, '23.0'), @SupportedBrowser(SupportedBrowser.FIREFOX, '15.0'), @SupportedBrowser(SupportedBrowser.IE, '10.0'), read-only
- innerHeight → int
-
The height of the viewport including scrollbars. [...]
@DocsEditable(), @DomName('Window.innerHeight'), final
- innerWidth → int
-
The width of the viewport including scrollbars. [...]
@DocsEditable(), @DomName('Window.innerWidth'), final
- isSecureContext → bool
-
@DocsEditable(), @DomName('Window.isSecureContext'), @Experimental(), final
- localStorage → Storage
-
Storage for this window that persists across sessions. [...]
@DocsEditable(), @DomName('Window.localStorage'), final
- location ↔ Location
-
The current location of this window. [...]
read / write
- locationbar → BarProp
-
This window's location bar, which displays the URL. [...]
@DocsEditable(), @DomName('Window.locationbar'), final
-
This window's menu bar, which displays menu commands. [...]
@DocsEditable(), @DomName('Window.menubar'), final
- name ↔ String
-
The name of this window. [...]
@DocsEditable(), @DomName('Window.name'), read / write
-
The user agent accessing this window. [...]
@DocsEditable(), @DomName('Window.navigator'), final
- offscreenBuffering → bool
-
Whether objects are drawn offscreen before being displayed. [...]
@DocsEditable(), @DomName('Window.offscreenBuffering'), @Experimental(), final
- onAbort → Stream<Event>
-
Stream of
abortevents handled by this Window.@DocsEditable(), @DomName('Window.onabort'), read-only - onAnimationEnd → Stream<AnimationEvent>
-
Stream of
animationendevents handled by this Window.@DocsEditable(), @DomName('Window.onwebkitAnimationEnd'), @Experimental(), read-only - onAnimationIteration → Stream<AnimationEvent>
-
Stream of
animationiterationevents handled by this Window.@DocsEditable(), @DomName('Window.onwebkitAnimationIteration'), @Experimental(), read-only - onAnimationStart → Stream<AnimationEvent>
-
Stream of
animationstartevents handled by this Window.@DocsEditable(), @DomName('Window.onwebkitAnimationStart'), @Experimental(), read-only - onBeforeUnload → Stream<Event>
-
Stream of
beforeunloadevents handled by this Window.@DomName('Window.onbeforeunload'), read-only - onBlur → Stream<Event>
-
Stream of
blurevents handled by this Window.@DocsEditable(), @DomName('Window.onblur'), read-only - onCanPlay → Stream<Event>
-
@DocsEditable(), @DomName('Window.oncanplay'), read-only
- onCanPlayThrough → Stream<Event>
-
@DocsEditable(), @DomName('Window.oncanplaythrough'), read-only
- onChange → Stream<Event>
-
Stream of
changeevents handled by this Window.@DocsEditable(), @DomName('Window.onchange'), read-only - onClick → Stream<MouseEvent>
-
Stream of
clickevents handled by this Window.@DocsEditable(), @DomName('Window.onclick'), read-only - onContentLoaded → Stream<Event>
-
Stream of
contentloadedevents handled by this Window.@DocsEditable(), @DomName('Window.onDOMContentLoaded'), read-only - onContextMenu → Stream<MouseEvent>
-
Stream of
contextmenuevents handled by this Window.@DocsEditable(), @DomName('Window.oncontextmenu'), read-only - onDeviceMotion → Stream<DeviceMotionEvent>
-
Stream of
devicemotionevents handled by this Window.@DocsEditable(), @DomName('Window.ondevicemotion'), @Experimental(), read-only - onDeviceOrientation → Stream<DeviceOrientationEvent>
-
Stream of
deviceorientationevents handled by this Window.@DocsEditable(), @DomName('Window.ondeviceorientation'), @Experimental(), read-only - onDoubleClick → Stream<Event>
-
Stream of
doubleclickevents handled by this Window.@DocsEditable(), @DomName('Window.ondblclick'), read-only - onDrag → Stream<MouseEvent>
-
Stream of
dragevents handled by this Window.@DocsEditable(), @DomName('Window.ondrag'), read-only - onDragEnd → Stream<MouseEvent>
-
Stream of
dragendevents handled by this Window.@DocsEditable(), @DomName('Window.ondragend'), read-only - onDragEnter → Stream<MouseEvent>
-
Stream of
dragenterevents handled by this Window.@DocsEditable(), @DomName('Window.ondragenter'), read-only - onDragLeave → Stream<MouseEvent>
-
Stream of
dragleaveevents handled by this Window.@DocsEditable(), @DomName('Window.ondragleave'), read-only - onDragOver → Stream<MouseEvent>
-
Stream of
dragoverevents handled by this Window.@DocsEditable(), @DomName('Window.ondragover'), read-only - onDragStart → Stream<MouseEvent>
-
Stream of
dragstartevents handled by this Window.@DocsEditable(), @DomName('Window.ondragstart'), read-only - onDrop → Stream<MouseEvent>
-
Stream of
dropevents handled by this Window.@DocsEditable(), @DomName('Window.ondrop'), read-only - onDurationChange → Stream<Event>
-
@DocsEditable(), @DomName('Window.ondurationchange'), read-only
- onEmptied → Stream<Event>
-
@DocsEditable(), @DomName('Window.onemptied'), read-only
- onEnded → Stream<Event>
-
@DocsEditable(), @DomName('Window.onended'), read-only
- onError → Stream<Event>
-
Stream of
errorevents handled by this Window.@DocsEditable(), @DomName('Window.onerror'), read-only - onFocus → Stream<Event>
-
Stream of
focusevents handled by this Window.@DocsEditable(), @DomName('Window.onfocus'), read-only - onHashChange → Stream<Event>
-
Stream of
hashchangeevents handled by this Window.@DocsEditable(), @DomName('Window.onhashchange'), read-only - onInput → Stream<Event>
-
Stream of
inputevents handled by this Window.@DocsEditable(), @DomName('Window.oninput'), read-only - onInvalid → Stream<Event>
-
Stream of
invalidevents handled by this Window.@DocsEditable(), @DomName('Window.oninvalid'), read-only - onKeyDown → Stream<KeyboardEvent>
-
Stream of
keydownevents handled by this Window.@DocsEditable(), @DomName('Window.onkeydown'), read-only - onKeyPress → Stream<KeyboardEvent>
-
Stream of
keypressevents handled by this Window.@DocsEditable(), @DomName('Window.onkeypress'), read-only - onKeyUp → Stream<KeyboardEvent>
-
Stream of
keyupevents handled by this Window.@DocsEditable(), @DomName('Window.onkeyup'), read-only - onLoad → Stream<Event>
-
Stream of
loadevents handled by this Window.@DocsEditable(), @DomName('Window.onload'), read-only - onLoadedData → Stream<Event>
-
@DocsEditable(), @DomName('Window.onloadeddata'), read-only
- onLoadedMetadata → Stream<Event>
-
@DocsEditable(), @DomName('Window.onloadedmetadata'), read-only
- onLoadStart → Stream<Event>
-
@DocsEditable(), @DomName('Window.onloadstart'), read-only
- onMessage → Stream<MessageEvent>
-
Stream of
messageevents handled by this Window.@DocsEditable(), @DomName('Window.onmessage'), read-only - onMouseDown → Stream<MouseEvent>
-
Stream of
mousedownevents handled by this Window.@DocsEditable(), @DomName('Window.onmousedown'), read-only - onMouseEnter → Stream<MouseEvent>
-
Stream of
mouseenterevents handled by this Window.@DocsEditable(), @DomName('Window.onmouseenter'), @Experimental(), read-only - onMouseLeave → Stream<MouseEvent>
-
Stream of
mouseleaveevents handled by this Window.@DocsEditable(), @DomName('Window.onmouseleave'), @Experimental(), read-only - onMouseMove → Stream<MouseEvent>
-
Stream of
mousemoveevents handled by this Window.@DocsEditable(), @DomName('Window.onmousemove'), read-only - onMouseOut → Stream<MouseEvent>
-
Stream of
mouseoutevents handled by this Window.@DocsEditable(), @DomName('Window.onmouseout'), read-only - onMouseOver → Stream<MouseEvent>
-
Stream of
mouseoverevents handled by this Window.@DocsEditable(), @DomName('Window.onmouseover'), read-only - onMouseUp → Stream<MouseEvent>
-
Stream of
mouseupevents handled by this Window.@DocsEditable(), @DomName('Window.onmouseup'), read-only - onMouseWheel → Stream<WheelEvent>
-
Stream of
mousewheelevents handled by this Window.@DocsEditable(), @DomName('Window.onmousewheel'), read-only - onOffline → Stream<Event>
-
Stream of
offlineevents handled by this Window.@DocsEditable(), @DomName('Window.onoffline'), read-only - onOnline → Stream<Event>
-
Stream of
onlineevents handled by this Window.@DocsEditable(), @DomName('Window.ononline'), read-only - onPageHide → Stream<Event>
-
Stream of
pagehideevents handled by this Window.@DocsEditable(), @DomName('Window.onpagehide'), read-only - onPageShow → Stream<Event>
-
Stream of
pageshowevents handled by this Window.@DocsEditable(), @DomName('Window.onpageshow'), read-only - onPause → Stream<Event>
-
@DocsEditable(), @DomName('Window.onpause'), read-only
- onPlay → Stream<Event>
-
@DocsEditable(), @DomName('Window.onplay'), read-only
- onPlaying → Stream<Event>
-
@DocsEditable(), @DomName('Window.onplaying'), read-only
- onPopState → Stream<PopStateEvent>
-
Stream of
popstateevents handled by this Window.@DocsEditable(), @DomName('Window.onpopstate'), read-only - onProgress → Stream<Event>
-
@DocsEditable(), @DomName('Window.onprogress'), read-only
- onRateChange → Stream<Event>
-
@DocsEditable(), @DomName('Window.onratechange'), read-only
- onReset → Stream<Event>
-
Stream of
resetevents handled by this Window.@DocsEditable(), @DomName('Window.onreset'), read-only - onResize → Stream<Event>
-
Stream of
resizeevents handled by this Window.@DocsEditable(), @DomName('Window.onresize'), read-only - onScroll → Stream<Event>
-
Stream of
scrollevents handled by this Window.@DocsEditable(), @DomName('Window.onscroll'), read-only - onSearch → Stream<Event>
-
Stream of
searchevents handled by this Window.@DocsEditable(), @DomName('Window.onsearch'), @Experimental(), read-only - onSeeked → Stream<Event>
-
@DocsEditable(), @DomName('Window.onseeked'), read-only
- onSeeking → Stream<Event>
-
@DocsEditable(), @DomName('Window.onseeking'), read-only
- onSelect → Stream<Event>
-
Stream of
selectevents handled by this Window.@DocsEditable(), @DomName('Window.onselect'), read-only - onStalled → Stream<Event>
-
@DocsEditable(), @DomName('Window.onstalled'), read-only
- onStorage → Stream<StorageEvent>
-
Stream of
storageevents handled by this Window.@DocsEditable(), @DomName('Window.onstorage'), read-only - onSubmit → Stream<Event>
-
Stream of
submitevents handled by this Window.@DocsEditable(), @DomName('Window.onsubmit'), read-only - onSuspend → Stream<Event>
-
@DocsEditable(), @DomName('Window.onsuspend'), read-only
- onTimeUpdate → Stream<Event>
-
@DocsEditable(), @DomName('Window.ontimeupdate'), read-only
- onTouchCancel → Stream<TouchEvent>
-
Stream of
touchcancelevents handled by this Window.@DocsEditable(), @DomName('Window.ontouchcancel'), @Experimental(), read-only - onTouchEnd → Stream<TouchEvent>
-
Stream of
touchendevents handled by this Window.@DocsEditable(), @DomName('Window.ontouchend'), @Experimental(), read-only - onTouchMove → Stream<TouchEvent>
-
Stream of
touchmoveevents handled by this Window.@DocsEditable(), @DomName('Window.ontouchmove'), @Experimental(), read-only - onTouchStart → Stream<TouchEvent>
-
Stream of
touchstartevents handled by this Window.@DocsEditable(), @DomName('Window.ontouchstart'), @Experimental(), read-only - onTransitionEnd → Stream<TransitionEvent>
-
Stream of
transitionendevents handled by this Window.@DocsEditable(), @DomName('Window.ontransitionend'), read-only - onUnload → Stream<Event>
-
Stream of
unloadevents handled by this Window.@DocsEditable(), @DomName('Window.onunload'), read-only - onVolumeChange → Stream<Event>
-
@DocsEditable(), @DomName('Window.onvolumechange'), read-only
- onWaiting → Stream<Event>
-
@DocsEditable(), @DomName('Window.onwaiting'), read-only
- opener ↔ WindowBase
-
A reference to the window that opened this one. [...]
@DocsEditable(), @DomName('Window.opener'), read / write
- orientation → int
-
@DocsEditable(), @DomName('Window.orientation'), @Experimental(), final
- outerHeight → int
-
The height of this window including all user interface elements. [...]
@DocsEditable(), @DomName('Window.outerHeight'), final
- outerWidth → int
-
The width of the window including all user interface elements. [...]
@DocsEditable(), @DomName('Window.outerWidth'), final
- pageXOffset → int
-
@DocsEditable(), @DomName('Window.pageXOffset'), read-only
- pageYOffset → int
-
@DocsEditable(), @DomName('Window.pageYOffset'), read-only
- parent → WindowBase
-
A reference to the parent of this window. [...]
@DocsEditable(), @DomName('Window.parent'), read-only
- performance → Performance
-
Timing and navigation data for this window. [...]
@DocsEditable(), @DomName('Window.performance'), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE), final
- renderWorklet → _Worklet
-
@DocsEditable(), @DomName('Window.renderWorklet'), @Experimental(), final
- screen → Screen
-
Information about the screen displaying this window. [...]
@DocsEditable(), @DomName('Window.screen'), final
- screenLeft → int
-
The distance from the left side of the screen to the left side of this
window. [...]
@DocsEditable(), @DomName('Window.screenLeft'), final
- screenTop → int
-
The distance from the top of the screen to the top of this window. [...]
@DocsEditable(), @DomName('Window.screenTop'), final
- screenX → int
-
The distance from the left side of the screen to the mouse pointer. [...]
@DocsEditable(), @DomName('Window.screenX'), final
- screenY → int
-
The distance from the top of the screen to the mouse pointer. [...]
@DocsEditable(), @DomName('Window.screenY'), final
- scrollbars → BarProp
-
This window's scroll bars. [...]
@DocsEditable(), @DomName('Window.scrollbars'), final
- scrollX → int
-
The distance this window has been scrolled horizontally. [...]
@DocsEditable(), @DomName('Window.scrollX'), read-only
- scrollY → int
-
The distance this window has been scrolled vertically. [...]
@DocsEditable(), @DomName('Window.scrollY'), read-only
- self → WindowBase
-
The current window. [...]
@DocsEditable(), @DomName('Window.self'), read-only
- sessionStorage → Storage
-
Storage for this window that is cleared when this session ends. [...]
@DocsEditable(), @DomName('Window.sessionStorage'), final
- speechSynthesis → SpeechSynthesis
-
Access to speech synthesis in the browser. [...]
@DocsEditable(), @DomName('Window.speechSynthesis'), @Experimental(), final
- status ↔ String
-
Deprecated*.
@DocsEditable(), @DomName('Window.status'), read / write
- statusbar → BarProp
-
This window's status bar. [...]
@DocsEditable(), @DomName('Window.statusbar'), final
- styleMedia → StyleMedia
-
Access to CSS media queries. [...]
@DocsEditable(), @DomName('Window.styleMedia'), @Experimental(), final
- toolbar → BarProp
-
This window's tool bar. [...]
@DocsEditable(), @DomName('Window.toolbar'), final
- top → WindowBase
-
A reference to the topmost window in the window hierarchy. [...]
@DocsEditable(), @DomName('Window.top'), read-only
- window → WindowBase
-
The current window. [...]
@DocsEditable(), @DomName('Window.window'), read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- on → Events
-
This is an ease-of-use accessor for event streams which should only be
used when an explicit accessor is not available.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
alert(
[String message ]) → void -
Displays a modal alert to the user. [...]
@DocsEditable(), @DomName('Window.alert')
-
atob(
String atob) → String -
@DocsEditable(), @DomName('Window.atob')
-
btoa(
String btoa) → String -
@DocsEditable(), @DomName('Window.btoa')
-
cancelAnimationFrame(
int id) → void - Cancels an animation frame request. [...]
-
cancelIdleCallback(
int handle) → void -
@DocsEditable(), @DomName('Window.cancelIdleCallback'), @Experimental()
-
close(
) → void -
Closes the window. [...]
@DocsEditable(), @DomName('Window.close')
-
confirm(
[String message ]) → bool -
Displays a modal OK/Cancel prompt to the user. [...]
@DocsEditable(), @DomName('Window.confirm')
-
fetch(
input, [ Map init ]) → Future -
@DocsEditable(), @DomName('Window.fetch'), @Experimental()
-
find(
String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) → bool -
Finds text in this window. [...]
@DocsEditable(), @DomName('Window.find'), @Experimental()
-
getMatchedCssRules(
Element element, String pseudoElement) → List<CssRule> -
Returns all CSS rules that apply to the element's pseudo-element.
@Creates('_CssRuleList'), @DocsEditable(), @DomName('Window.getMatchedCSSRules'), @Experimental(), @JSName('getMatchedCSSRules'), @Returns('_CssRuleList|Null')
-
getSelection(
) → Selection -
Returns the currently selected text. [...]
@DocsEditable(), @DomName('Window.getSelection')
-
matchMedia(
String query) → MediaQueryList -
Returns a list of media queries for the given query string. [...]
@DocsEditable(), @DomName('Window.matchMedia')
-
moveBy(
int x, int y) → void -
Moves this window. [...]
@DocsEditable(), @DomName('Window.moveBy')
-
moveTo(
Point p) → void - Moves this window to a specific position. [...]
-
open(
String url, String name, [ String options ]) → WindowBase - Opens a new window. [...]
-
openDatabase(
String name, String version, String displayName, int estimatedSize, [ DatabaseCallback creationCallback ]) → SqlDatabase -
@Creates('SqlDatabase'), @DocsEditable(), @DomName('Window.openDatabase'), @Experimental(), @JSName('openDatabase'), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI)
-
postMessage(
message, String targetOrigin, [ List<MessagePort> transfer ]) → void -
Sends a cross-origin message. [...]
@DocsEditable(), @DomName('Window.postMessage')
-
print(
) → void -
Opens the print dialog for this window. [...]
@DocsEditable(), @DomName('Window.print')
-
requestAnimationFrame(
FrameRequestCallback callback) → int -
Called to draw an animation frame and then request the window to repaint
after
callbackhas finished (creating the animation). [...]@DomName('Window.requestAnimationFrame') -
requestFileSystem(
int size, { bool persistent: false }) → Future<FileSystem> -
Access a sandboxed file system of the specified
size. Ifpersistentis true, the application will request permission from the user to create lasting storage. This storage cannot be freed without the user's permission. Returns a Future whose value stores a reference to the sandboxed file system for use. Because the file system is sandboxed, applications cannot access file systems created in other web pages. -
requestIdleCallback(
IdleRequestCallback callback, [ Map options ]) → int -
@DocsEditable(), @DomName('Window.requestIdleCallback'), @Experimental()
-
resizeBy(
int x, int y) → void -
Resizes this window by an offset. [...]
@DocsEditable(), @DomName('Window.resizeBy')
-
resizeTo(
int x, int y) → void -
Resizes this window to a specific width and height. [...]
@DocsEditable(), @DomName('Window.resizeTo')
-
resolveLocalFileSystemUrl(
String url) → Future<Entry> -
Asynchronously retrieves a local filesystem entry. [...]
@DocsEditable(), @DomName('Window.webkitResolveLocalFileSystemURL'), @Experimental(), @JSName('webkitResolveLocalFileSystemURL'), @SupportedBrowser(SupportedBrowser.CHROME)
-
scroll(
[options_OR_x, y, Map scrollOptions ]) → void -
Scrolls the page horizontally and vertically to a specific point. [...]
@DocsEditable(), @DomName('Window.scroll')
-
scrollBy(
[options_OR_x, y, Map scrollOptions ]) → void -
Scrolls the page horizontally and vertically by an offset. [...]
@DocsEditable(), @DomName('Window.scrollBy')
-
scrollTo(
[options_OR_x, y, Map scrollOptions ]) → void -
Scrolls the page horizontally and vertically to a specific point. [...]
@DocsEditable(), @DomName('Window.scrollTo')
-
stop(
) → void -
Stops the window from loading. [...]
@DocsEditable(), @DomName('Window.stop')
-
addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
other) → bool -
The equality operator. [...]
inherited
Static Properties
- supportsPointConversions → bool
-
convertPointFromNodeToPage and convertPointFromPageToNode are removed.
see http://dev.w3.org/csswg/cssom-view/#geometry
read-only
Constants
- animationEndEvent → const EventStreamProvider<AnimationEvent>
-
Static factory designed to expose
animationendevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.webkitAnimationEndEvent'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI)const EventStreamProvider<AnimationEvent>('webkitAnimationEnd') - animationIterationEvent → const EventStreamProvider<AnimationEvent>
-
Static factory designed to expose
animationiterationevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.webkitAnimationIterationEvent'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI)const EventStreamProvider<AnimationEvent>('webkitAnimationIteration') - animationStartEvent → const EventStreamProvider<AnimationEvent>
-
Static factory designed to expose
animationstartevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.webkitAnimationStartEvent'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI)const EventStreamProvider<AnimationEvent>('webkitAnimationStart') - beforeUnloadEvent → const EventStreamProvider<BeforeUnloadEvent>
-
Static factory designed to expose
beforeunloadevents to event handlers that are not necessarily instances ofWindow. [...]@DomName('Window.beforeunloadEvent')const _BeforeUnloadEventStreamProvider('beforeunload') - contentLoadedEvent → const EventStreamProvider<Event>
-
Static factory designed to expose
contentloadedevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.DOMContentLoadedEvent')const EventStreamProvider<Event>('DOMContentLoaded') - deviceMotionEvent → const EventStreamProvider<DeviceMotionEvent>
-
Static factory designed to expose
devicemotionevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.devicemotionEvent'), @Experimental()const EventStreamProvider<DeviceMotionEvent>('devicemotion') - deviceOrientationEvent → const EventStreamProvider<DeviceOrientationEvent>
-
Static factory designed to expose
deviceorientationevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.deviceorientationEvent'), @Experimental()const EventStreamProvider<DeviceOrientationEvent>('deviceorientation') - hashChangeEvent → const EventStreamProvider<Event>
-
Static factory designed to expose
hashchangeevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.hashchangeEvent')const EventStreamProvider<Event>('hashchange') - loadStartEvent → const EventStreamProvider<Event>
-
@DocsEditable(), @DomName('Window.loadstartEvent')
const EventStreamProvider<Event>('loadstart') - messageEvent → const EventStreamProvider<MessageEvent>
-
Static factory designed to expose
messageevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.messageEvent')const EventStreamProvider<MessageEvent>('message') - offlineEvent → const EventStreamProvider<Event>
-
Static factory designed to expose
offlineevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.offlineEvent')const EventStreamProvider<Event>('offline') - onlineEvent → const EventStreamProvider<Event>
-
Static factory designed to expose
onlineevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.onlineEvent')const EventStreamProvider<Event>('online') - pageHideEvent → const EventStreamProvider<Event>
-
Static factory designed to expose
pagehideevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.pagehideEvent')const EventStreamProvider<Event>('pagehide') - pageShowEvent → const EventStreamProvider<Event>
-
Static factory designed to expose
pageshowevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.pageshowEvent')const EventStreamProvider<Event>('pageshow') - PERSISTENT → const int
-
Indicates that file system data cannot be cleared unless given user
permission. [...]
@DocsEditable(), @DomName('Window.PERSISTENT'), @Experimental()
1 - popStateEvent → const EventStreamProvider<PopStateEvent>
-
Static factory designed to expose
popstateevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.popstateEvent')const EventStreamProvider<PopStateEvent>('popstate') - progressEvent → const EventStreamProvider<Event>
-
@DocsEditable(), @DomName('Window.progressEvent')
const EventStreamProvider<Event>('progress') - storageEvent → const EventStreamProvider<StorageEvent>
-
Static factory designed to expose
storageevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.storageEvent')const EventStreamProvider<StorageEvent>('storage') - TEMPORARY → const int
-
Indicates that file system data can be cleared at any time. [...]
@DocsEditable(), @DomName('Window.TEMPORARY'), @Experimental()
0 - unloadEvent → const EventStreamProvider<Event>
-
Static factory designed to expose
unloadevents to event handlers that are not necessarily instances ofWindow. [...]@DocsEditable(), @DomName('Window.unloadEvent')const EventStreamProvider<Event>('unload')