2025-01-15 19:42:35 +01:00

40 lines
93 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en"><!-- use theme color or fallback -->
<!--use textcolor from settings, otherwise create a contrasting color to theme color-->
<head><meta charset="utf-8"/><link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet"/><link href="../../bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet"/><link href="../../bootstrap/css/bootstrap-select.min.css" rel="stylesheet"/><link href="http://fonts.googleapis.com/css?family=Open+Sans:400,700,700italic,400italic" rel="stylesheet" type="text/css"/><link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600,600italic,400" rel="stylesheet" type="text/css"/><link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet" type="text/css"/><script src="../../jquery-1.9.1.min.js"></script><script src="../../bootstrap/js/bootstrap.min.js"></script><script src="../../bootstrap/js/bootstrap-select.min.js"></script><link href="../../styles.css" rel="stylesheet"/><link href="../../haxe-nav.css" rel="stylesheet"/><script type="text/javascript">var dox = {rootPath: "../../",platforms: ["Neko","Android","Flash","iOS","macOS","Linux","HTML5","Windows"]};</script><script type="text/javascript" src="../../nav.js"></script><script type="text/javascript" src="../../index.js"></script><link rel="icon" href="../../favicon.ico" type="image/x-icon"></link><title>js.html.Window - API Reference</title><meta name="description" content="The &lt;code&gt;window&lt;/code&gt; object represents a window containing a DOM document; the &lt;code&gt;document&lt;/code&gt; property points to the DOM document loaded in that window."/></head><body><style>
a, code .type {
color: #24afc4;
}
.navbar .brand {
display: inline-block;
float: none;
text-shadow: 0 0 0 transparent;
}
.nav-list>.active>a.treeLink, .nav-list>.active>a.treeLink:hover, .nav-list>.active>a.treeLink:focus {
background: #24afc4;
color: #ffffff;
text-shadow: 0 0 0 transparent;
}
.navbar .container {
width: 940px ;
}
@media (max-width: 767px) {
.navbar .container {
width: auto;
}
}
@media (max-width: 979px) and (min-width: 768px) {
.navbar .container {
width: 724px;
}
}
@media (min-width: 1200px) {
.navbar .container {
width: 1170px;
}
}
.navbar .container img {
margin: 5px 0 0 4px;
}
</style><nav class="nav"><div class="navbar"><div class="navbar-inner" style="background:#FAFAFA; border-bottom:1px solid rgba(0,0,0,.09)"><div class="container"><a class="brand" href="http://www.openfl.org"><img alt="" src="http://www.openfl.org/images/logo.png"/></a><a class="brand" style="color:#777777" href="../../">API Reference</a></div></div></div></nav><div class="container main-content"><div class="row-fluid"><div class="span3"><div class="well sidebar-nav"><form class="form-search" id="searchForm"><div class="input-prepend input-block-level"><span class="add-on"><i class="icon-search"></i></span><input id="search" type="text" placeholder="Search" autocomplete="off"/></div></form><div class="dropdown"><select id="select-platform" class="selectpicker" title="Filter by platform" data-width="100%"><option value="all" selected="true">All Platforms</option><option>Neko</option><option>Android</option><option>Flash</option><option>iOS</option><option>macOS</option><option>Linux</option><option>HTML5</option><option>Windows</option></select></div></div><div class="well sidebar-nav"><div id="nav"></div></div></div><div class="span9"><div class="page-header"><h1><small>class</small> Window</h1><h4><small>package <a href="../../js/html/index.html">js.html</a></small></h4><h4><small>extends <a class="type" title="EventTarget is an interface implemented by objects that can receive events and may have listeners for them." href="../../js/html/EventTarget.html">EventTarget</a></small></h4> <p class="availability"><hr/><em>Available on HTML5</em></p></div><div class="body"><div class="doc doc-main"><div class="indent"><p>The <code>window</code> object represents a window containing a DOM document; the <code>document</code> property points to the DOM document loaded in that window.</p>
<p>Documentation <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window">Window</a> by <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window$history">Mozilla Contributors</a>, licensed under <a href="https://creativecommons.org/licenses/by-sa/2.5/">CC-BY-SA 2.5</a>.</p><p class="javadoc">See:</p><div class="indent inline-content"><p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Window">https://developer.mozilla.org/en-US/docs/Web/API/Window</a></p></div></div></div><h3 class="section">Variables</h3><div class="fields"><div class="field "><a name="closed"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#closed"><span class="identifier">closed</span></a>:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p>This property indicates whether the current window is closed or not.</p></div></div><div class="field "><a name="console"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#console"><span class="identifier">console</span></a>:<a class="type" title="The Console object provides access to the browser's debugging console (e." href="../../js/html/Console.html">Console</a></code></p></h3><div class="doc"><p>Returns a reference to the console object which provides access to the browser's debugging console.</p></div></div><div class="field "><a name="content"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#content"><span class="identifier">content</span></a>:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a></code></p></h3><div class="doc"><p>Returns a reference to the content element in the current window. The obsolete variant with underscore is no longer available from Web content.</p></div></div><div class="field "><a name="crypto"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#crypto"><span class="identifier">crypto</span></a>:<a class="type" title="The Crypto interface represents basic cryptography features available in the current context." href="../../js/html/Crypto.html">Crypto</a></code></p></h3><div class="doc"><p>Returns the browser crypto object.</p></div></div><div class="field "><a name="devicePixelRatio"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#devicePixelRatio"><span class="identifier">devicePixelRatio</span></a>:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></code></p></h3><div class="doc"><p>Returns the ratio between physical pixels and device independent pixels in the current display.</p></div></div><div class="field "><a name="document"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#document"><span class="identifier">document</span></a>:<a class="type" title="HTMLDocument is an abstract interface of the DOM which provides access to special properties and methods not present by default on a regular (XML) document." href="../../js/html/HTMLDocument.html">HTMLDocument</a></code></p></h3><div class="doc"><p>Returns a reference to the document that the window contains.</p></div></div><div class="field "><a name="frameElement"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#frameElement"><span class="identifier">frameElement</span></a>:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p>Returns the element in which the window is embedded, or null if the window is not embedded.</p></div></div><div class="field "><a name="frames"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#frames"><span class="identifier">frames</span></a>:<a class="type" title="The window object represents a window containing a DOM document; the document property points to the DOM document loaded in that window." href="../../js/html/Window.html">Window</a></code></p></h3><div class="doc"><p>Returns an array of the subframes in the current window.</p></div></div><div class="field "><a name="fullScreen"></a><h3><p><code><a href="../../js/html/Window.html#fullScreen"><span class="identifier">fullScreen</span></a>:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p>This property indicates whether the window is displayed in full screen or not.</p></div></div><div class="field "><a name="history"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#history"><span class="identifier">history</span></a>:<a class="type" title="The History interface allows to manipulate the browser session history, that is the pages visited in the tab or frame that the current page is loaded in." href="../../js/html/History.html">History</a></code></p></h3><div class="doc"><p>Returns a reference to the history object.</p></div></div><div class="field "><a name="indexedDB"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#indexedDB"><span class="identifier">indexedDB</span></a>:<a class="type" title="In the following code snippet, we make a request to open a database, and include handlers for the success and error cases." href="../../js/html/idb/Factory.html">Factory</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="innerHeight"></a><h3><p><code><a href="../../js/html/Window.html#innerHeight"><span class="identifier">innerHeight</span></a>:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a></code></p></h3><div class="doc"><p>Gets the height of the content area of the browser window including, if rendered, the horizontal scrollbar.</p></div></div><div class="field "><a name="innerWidth"></a><h3><p><code><a href="../../js/html/Window.html#innerWidth"><span class="identifier">innerWidth</span></a>:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a></code></p></h3><div class="doc"><p>Gets the width of the content area of the browser window including, if rendered, the vertical scrollbar.</p></div></div><div class="field "><a name="length"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#length"><span class="identifier">length</span></a>:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p>Returns the number of frames in the window. See also <code>window.frames</code>.</p></div></div><div class="field "><a name="localStorage"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#localStorage"><span class="identifier">localStorage</span></a>:<a class="type" title="The Storage interface of the Web Storage API provides access to the session storage or local storage for a particular domain, allowing you to for example add, modify or delete stored data items." href="../../js/html/Storage.html">Storage</a></code></p></h3><div class="doc"><p>Returns a reference to the local storage object used to store data that may only be accessed by the origin that created it.</p></div></div><div class="field "><a name="location"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#location"><span class="identifier">location</span></a>:<a class="type" title="The Location interface represents the location (URL) of the object it is linked to." href="../../js/html/Location.html">Location</a></code></p></h3><div class="doc"><p>Gets/sets the location, or current URL, of the window object.</p></div></div><div class="field "><a name="locationbar"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#locationbar"><span class="identifier">locationbar</span></a>:<a class="type" title="" href="../../js/html/BarProp.html">BarProp</a></code></p></h3><div class="doc"><p>Returns the locationbar object, whose visibility can be toggled in the window.</p></div></div><div class="field "><a name="menubar"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#menubar"><span class="identifier">menubar</span></a>:<a class="type" title="" href="../../js/html/BarProp.html">BarProp</a></code></p></h3><div class="doc"><p>Returns the menubar object, whose visibility can be toggled in the window.</p></div></div><div class="field "><a name="name"></a><h3><p><code><a href="../../js/html/Window.html#name"><span class="identifier">name</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Gets/sets the name of the window.</p></div></div><div class="field "><a name="navigator"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#navigator"><span class="identifier">navigator</span></a>:<a class="type" title="The Navigator interface represents the state and the identity of the user agent." href="../../js/html/Navigator.html">Navigator</a></code></p></h3><div class="doc"><p>Returns a reference to the navigator object.</p></div></div><div class="field "><a name="onabort"></a><h3><p><code><a href="../../js/html/Window.html#onabort"><span class="identifier">onabort</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onabsolutedeviceorientation"></a><h3><p><code><a href="../../js/html/Window.html#onabsolutedeviceorientation"><span class="identifier">onabsolutedeviceorientation</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onafterprint"></a><h3><p><code><a href="../../js/html/Window.html#onafterprint"><span class="identifier">onafterprint</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onbeforeprint"></a><h3><p><code><a href="../../js/html/Window.html#onbeforeprint"><span class="identifier">onbeforeprint</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onblur"></a><h3><p><code><a href="../../js/html/Window.html#onblur"><span class="identifier">onblur</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oncanplay"></a><h3><p><code><a href="../../js/html/Window.html#oncanplay"><span class="identifier">oncanplay</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oncanplaythrough"></a><h3><p><code><a href="../../js/html/Window.html#oncanplaythrough"><span class="identifier">oncanplaythrough</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onchange"></a><h3><p><code><a href="../../js/html/Window.html#onchange"><span class="identifier">onchange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onclick"></a><h3><p><code><a href="../../js/html/Window.html#onclick"><span class="identifier">onclick</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oncontextmenu"></a><h3><p><code><a href="../../js/html/Window.html#oncontextmenu"><span class="identifier">oncontextmenu</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondblclick"></a><h3><p><code><a href="../../js/html/Window.html#ondblclick"><span class="identifier">ondblclick</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondevicelight"></a><h3><p><code><a href="../../js/html/Window.html#ondevicelight"><span class="identifier">ondevicelight</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondevicemotion"></a><h3><p><code><a href="../../js/html/Window.html#ondevicemotion"><span class="identifier">ondevicemotion</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondeviceorientation"></a><h3><p><code><a href="../../js/html/Window.html#ondeviceorientation"><span class="identifier">ondeviceorientation</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondeviceproximity"></a><h3><p><code><a href="../../js/html/Window.html#ondeviceproximity"><span class="identifier">ondeviceproximity</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondrag"></a><h3><p><code><a href="../../js/html/Window.html#ondrag"><span class="identifier">ondrag</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondragend"></a><h3><p><code><a href="../../js/html/Window.html#ondragend"><span class="identifier">ondragend</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondragenter"></a><h3><p><code><a href="../../js/html/Window.html#ondragenter"><span class="identifier">ondragenter</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondragleave"></a><h3><p><code><a href="../../js/html/Window.html#ondragleave"><span class="identifier">ondragleave</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondragover"></a><h3><p><code><a href="../../js/html/Window.html#ondragover"><span class="identifier">ondragover</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondragstart"></a><h3><p><code><a href="../../js/html/Window.html#ondragstart"><span class="identifier">ondragstart</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondrop"></a><h3><p><code><a href="../../js/html/Window.html#ondrop"><span class="identifier">ondrop</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondurationchange"></a><h3><p><code><a href="../../js/html/Window.html#ondurationchange"><span class="identifier">ondurationchange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onemptied"></a><h3><p><code><a href="../../js/html/Window.html#onemptied"><span class="identifier">onemptied</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onended"></a><h3><p><code><a href="../../js/html/Window.html#onended"><span class="identifier">onended</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onfocus"></a><h3><p><code><a href="../../js/html/Window.html#onfocus"><span class="identifier">onfocus</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onfullscreenchange"></a><h3><p><code><a href="../../js/html/Window.html#onfullscreenchange"><span class="identifier">onfullscreenchange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onfullscreenerror"></a><h3><p><code><a href="../../js/html/Window.html#onfullscreenerror"><span class="identifier">onfullscreenerror</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ongotpointercapture"></a><h3><p><code><a href="../../js/html/Window.html#ongotpointercapture"><span class="identifier">ongotpointercapture</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onhashchange"></a><h3><p><code><a href="../../js/html/Window.html#onhashchange"><span class="identifier">onhashchange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oninput"></a><h3><p><code><a href="../../js/html/Window.html#oninput"><span class="identifier">oninput</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oninvalid"></a><h3><p><code><a href="../../js/html/Window.html#oninvalid"><span class="identifier">oninvalid</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onkeydown"></a><h3><p><code><a href="../../js/html/Window.html#onkeydown"><span class="identifier">onkeydown</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onkeypress"></a><h3><p><code><a href="../../js/html/Window.html#onkeypress"><span class="identifier">onkeypress</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onkeyup"></a><h3><p><code><a href="../../js/html/Window.html#onkeyup"><span class="identifier">onkeyup</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onlanguagechange"></a><h3><p><code><a href="../../js/html/Window.html#onlanguagechange"><span class="identifier">onlanguagechange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onload"></a><h3><p><code><a href="../../js/html/Window.html#onload"><span class="identifier">onload</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onloadeddata"></a><h3><p><code><a href="../../js/html/Window.html#onloadeddata"><span class="identifier">onloadeddata</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onloadedmetadata"></a><h3><p><code><a href="../../js/html/Window.html#onloadedmetadata"><span class="identifier">onloadedmetadata</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onloadstart"></a><h3><p><code><a href="../../js/html/Window.html#onloadstart"><span class="identifier">onloadstart</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onlostpointercapture"></a><h3><p><code><a href="../../js/html/Window.html#onlostpointercapture"><span class="identifier">onlostpointercapture</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmessage"></a><h3><p><code><a href="../../js/html/Window.html#onmessage"><span class="identifier">onmessage</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmousedown"></a><h3><p><code><a href="../../js/html/Window.html#onmousedown"><span class="identifier">onmousedown</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmouseenter"></a><h3><p><code><a href="../../js/html/Window.html#onmouseenter"><span class="identifier">onmouseenter</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmouseleave"></a><h3><p><code><a href="../../js/html/Window.html#onmouseleave"><span class="identifier">onmouseleave</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmousemove"></a><h3><p><code><a href="../../js/html/Window.html#onmousemove"><span class="identifier">onmousemove</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmouseout"></a><h3><p><code><a href="../../js/html/Window.html#onmouseout"><span class="identifier">onmouseout</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmouseover"></a><h3><p><code><a href="../../js/html/Window.html#onmouseover"><span class="identifier">onmouseover</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmouseup"></a><h3><p><code><a href="../../js/html/Window.html#onmouseup"><span class="identifier">onmouseup</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onoffline"></a><h3><p><code><a href="../../js/html/Window.html#onoffline"><span class="identifier">onoffline</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ononline"></a><h3><p><code><a href="../../js/html/Window.html#ononline"><span class="identifier">ononline</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onorientationchange"></a><h3><p><code><a href="../../js/html/Window.html#onorientationchange"><span class="identifier">onorientationchange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpagehide"></a><h3><p><code><a href="../../js/html/Window.html#onpagehide"><span class="identifier">onpagehide</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpageshow"></a><h3><p><code><a href="../../js/html/Window.html#onpageshow"><span class="identifier">onpageshow</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpause"></a><h3><p><code><a href="../../js/html/Window.html#onpause"><span class="identifier">onpause</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onplay"></a><h3><p><code><a href="../../js/html/Window.html#onplay"><span class="identifier">onplay</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onplaying"></a><h3><p><code><a href="../../js/html/Window.html#onplaying"><span class="identifier">onplaying</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointercancel"></a><h3><p><code><a href="../../js/html/Window.html#onpointercancel"><span class="identifier">onpointercancel</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerdown"></a><h3><p><code><a href="../../js/html/Window.html#onpointerdown"><span class="identifier">onpointerdown</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerenter"></a><h3><p><code><a href="../../js/html/Window.html#onpointerenter"><span class="identifier">onpointerenter</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerleave"></a><h3><p><code><a href="../../js/html/Window.html#onpointerleave"><span class="identifier">onpointerleave</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerlockchange"></a><h3><p><code><a href="../../js/html/Window.html#onpointerlockchange"><span class="identifier">onpointerlockchange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerlockerror"></a><h3><p><code><a href="../../js/html/Window.html#onpointerlockerror"><span class="identifier">onpointerlockerror</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointermove"></a><h3><p><code><a href="../../js/html/Window.html#onpointermove"><span class="identifier">onpointermove</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerout"></a><h3><p><code><a href="../../js/html/Window.html#onpointerout"><span class="identifier">onpointerout</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerover"></a><h3><p><code><a href="../../js/html/Window.html#onpointerover"><span class="identifier">onpointerover</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerup"></a><h3><p><code><a href="../../js/html/Window.html#onpointerup"><span class="identifier">onpointerup</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpopstate"></a><h3><p><code><a href="../../js/html/Window.html#onpopstate"><span class="identifier">onpopstate</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onprogress"></a><h3><p><code><a href="../../js/html/Window.html#onprogress"><span class="identifier">onprogress</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onratechange"></a><h3><p><code><a href="../../js/html/Window.html#onratechange"><span class="identifier">onratechange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onreset"></a><h3><p><code><a href="../../js/html/Window.html#onreset"><span class="identifier">onreset</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onresize"></a><h3><p><code><a href="../../js/html/Window.html#onresize"><span class="identifier">onresize</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onscroll"></a><h3><p><code><a href="../../js/html/Window.html#onscroll"><span class="identifier">onscroll</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onseeked"></a><h3><p><code><a href="../../js/html/Window.html#onseeked"><span class="identifier">onseeked</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onseeking"></a><h3><p><code><a href="../../js/html/Window.html#onseeking"><span class="identifier">onseeking</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onselect"></a><h3><p><code><a href="../../js/html/Window.html#onselect"><span class="identifier">onselect</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onshow"></a><h3><p><code><a href="../../js/html/Window.html#onshow"><span class="identifier">onshow</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onstalled"></a><h3><p><code><a href="../../js/html/Window.html#onstalled"><span class="identifier">onstalled</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onstorage"></a><h3><p><code><a href="../../js/html/Window.html#onstorage"><span class="identifier">onstorage</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onsubmit"></a><h3><p><code><a href="../../js/html/Window.html#onsubmit"><span class="identifier">onsubmit</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onsuspend"></a><h3><p><code><a href="../../js/html/Window.html#onsuspend"><span class="identifier">onsuspend</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ontimeupdate"></a><h3><p><code><a href="../../js/html/Window.html#ontimeupdate"><span class="identifier">ontimeupdate</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ontouchcancel"></a><h3><p><code><a href="../../js/html/Window.html#ontouchcancel"><span class="identifier">ontouchcancel</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ontouchend"></a><h3><p><code><a href="../../js/html/Window.html#ontouchend"><span class="identifier">ontouchend</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ontouchmove"></a><h3><p><code><a href="../../js/html/Window.html#ontouchmove"><span class="identifier">ontouchmove</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ontouchstart"></a><h3><p><code><a href="../../js/html/Window.html#ontouchstart"><span class="identifier">ontouchstart</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onunload"></a><h3><p><code><a href="../../js/html/Window.html#onunload"><span class="identifier">onunload</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onuserproximity"></a><h3><p><code><a href="../../js/html/Window.html#onuserproximity"><span class="identifier">onuserproximity</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onvolumechange"></a><h3><p><code><a href="../../js/html/Window.html#onvolumechange"><span class="identifier">onvolumechange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onwaiting"></a><h3><p><code><a href="../../js/html/Window.html#onwaiting"><span class="identifier">onwaiting</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onwheel"></a><h3><p><code><a href="../../js/html/Window.html#onwheel"><span class="identifier">onwheel</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="opener"></a><h3><p><code><a href="../../js/html/Window.html#opener"><span class="identifier">opener</span></a>:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a></code></p></h3><div class="doc"><p>Returns a reference to the window that opened this current window.</p></div></div><div class="field "><a name="orientation"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#orientation"><span class="identifier">orientation</span></a>:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p>Returns the orientation in degrees (in 90 degree increments) of the viewport relative to the device's natural orientation.</p></div></div><div class="field "><a name="outerHeight"></a><h3><p><code><a href="../../js/html/Window.html#outerHeight"><span class="identifier">outerHeight</span></a>:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a></code></p></h3><div class="doc"><p>Gets the height of the outside of the browser window.</p></div></div><div class="field "><a name="outerWidth"></a><h3><p><code><a href="../../js/html/Window.html#outerWidth"><span class="identifier">outerWidth</span></a>:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a></code></p></h3><div class="doc"><p>Gets the width of the outside of the browser window.</p></div></div><div class="field "><a name="pageXOffset"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#pageXOffset"><span class="identifier">pageXOffset</span></a>:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="pageYOffset"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#pageYOffset"><span class="identifier">pageYOffset</span></a>:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="parent"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#parent"><span class="identifier">parent</span></a>:<a class="type" title="The window object represents a window containing a DOM document; the document property points to the DOM document loaded in that window." href="../../js/html/Window.html">Window</a></code></p></h3><div class="doc"><p>Returns a reference to the parent of the current window or subframe.</p></div></div><div class="field "><a name="performance"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#performance"><span class="identifier">performance</span></a>:<a class="type" title="The Performance interface represents timing-related performance information for the given page." href="../../js/html/Performance.html">Performance</a></code></p></h3><div class="doc"><p>Provides a hosting area for performance related attributes.</p></div></div><div class="field "><a name="personalbar"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#personalbar"><span class="identifier">personalbar</span></a>:<a class="type" title="" href="../../js/html/BarProp.html">BarProp</a></code></p></h3><div class="doc"><p>Returns the personalbar object, whose visibility can be toggled in the window.</p></div></div><div class="field "><a name="screen"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#screen"><span class="identifier">screen</span></a>:<a class="type" title="The Screen interface represents a screen, usually the one on which the current window is being rendered." href="../../js/html/Screen.html">Screen</a></code></p></h3><div class="doc"><p>Returns a reference to the screen object associated with the window.</p></div></div><div class="field "><a name="screenX"></a><h3><p><code><a href="../../js/html/Window.html#screenX"><span class="identifier">screenX</span></a>:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a></code></p></h3><div class="doc"><p>Returns the horizontal distance of the left border of the user's browser from the left side of the screen.</p></div></div><div class="field "><a name="screenY"></a><h3><p><code><a href="../../js/html/Window.html#screenY"><span class="identifier">screenY</span></a>:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a></code></p></h3><div class="doc"><p>Returns the vertical distance of the top border of the user's browser from the top side of the screen.</p></div></div><div class="field "><a name="scrollMaxX"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#scrollMaxX"><span class="identifier">scrollMaxX</span></a>:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p>The maximum offset that the window can be scrolled to horizontally, that is the document width minus the viewport width.</p></div></div><div class="field "><a name="scrollMaxY"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#scrollMaxY"><span class="identifier">scrollMaxY</span></a>:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p>The maximum offset that the window can be scrolled to vertically (i.e., the document height minus the viewport height).</p></div></div><div class="field "><a name="scrollX"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#scrollX"><span class="identifier">scrollX</span></a>:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p>Returns the number of pixels that the document has already been scrolled horizontally.</p></div></div><div class="field "><a name="scrollY"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#scrollY"><span class="identifier">scrollY</span></a>:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p>Returns the number of pixels that the document has already been scrolled vertically.</p></div></div><div class="field "><a name="scrollbars"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#scrollbars"><span class="identifier">scrollbars</span></a>:<a class="type" title="" href="../../js/html/BarProp.html">BarProp</a></code></p></h3><div class="doc"><p>Returns the scrollbars object, whose visibility can be toggled in the window.</p></div></div><div class="field "><a name="self"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#self"><span class="identifier">self</span></a>:<a class="type" title="The window object represents a window containing a DOM document; the document property points to the DOM document loaded in that window." href="../../js/html/Window.html">Window</a></code></p></h3><div class="doc"><p>Returns an object reference to the window object itself.</p></div></div><div class="field "><a name="sessionStorage"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#sessionStorage"><span class="identifier">sessionStorage</span></a>:<a class="type" title="The Storage interface of the Web Storage API provides access to the session storage or local storage for a particular domain, allowing you to for example add, modify or delete stored data items." href="../../js/html/Storage.html">Storage</a></code></p></h3><div class="doc"><p>Returns a storage object for storing data within a single page session.</p></div></div><div class="field "><a name="speechSynthesis"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#speechSynthesis"><span class="identifier">speechSynthesis</span></a>:<a class="type" title="The SpeechSynthesis interface of the Web Speech API is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides." href="../../js/html/SpeechSynthesis.html">SpeechSynthesis</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/SpeechSynthesis.html">SpeechSynthesis</a></code> object, which is the entry point into using Web Speech API speech synthesis functionality.</p></div></div><div class="field "><a name="status"></a><h3><p><code><a href="../../js/html/Window.html#status"><span class="identifier">status</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Gets/sets the text in the statusbar at the bottom of the browser.</p></div></div><div class="field "><a name="statusbar"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#statusbar"><span class="identifier">statusbar</span></a>:<a class="type" title="" href="../../js/html/BarProp.html">BarProp</a></code></p></h3><div class="doc"><p>Returns the statusbar object, whose visibility can be toggled in the window.</p></div></div><div class="field "><a name="toolbar"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#toolbar"><span class="identifier">toolbar</span></a>:<a class="type" title="" href="../../js/html/BarProp.html">BarProp</a></code></p></h3><div class="doc"><p>Returns the toolbar object, whose visibility can be toggled in the window.</p></div></div><div class="field "><a name="top"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#top"><span class="identifier">top</span></a>:<a class="type" title="The window object represents a window containing a DOM document; the document property points to the DOM document loaded in that window." href="../../js/html/Window.html">Window</a></code></p></h3><div class="doc"><p>Returns a reference to the topmost window in the window hierarchy. This property is read only.</p></div></div><div class="field "><a name="window"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Window.html#window"><span class="identifier">window</span></a>:<a class="type" title="The window object represents a window containing a DOM document; the document property points to the DOM document loaded in that window." href="../../js/html/Window.html">Window</a></code></p></h3><div class="doc"><p>Returns a reference to the current window.</p></div></div><div class="field "><a name="onbeforeunload"></a><h3><p><code><a href="../../js/html/Window.html#onbeforeunload"><span class="identifier">onbeforeunload</span></a>:<a class="type" title="The Event interface represents any event which takes place in the DOM; some are user-generated (such as mouse or keyboard events), while others are generated by APIs (such as events that indicate an animation has finished running, a video has been paused, and so forth)." href="../../js/html/Event.html">Event</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onerror"></a><h3><p><code><a href="../../js/html/Window.html#onerror"><span class="identifier">onerror</span></a>:<a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The Event interface represents any event which takes place in the DOM; some are user-generated (such as mouse or keyboard events), while others are generated by APIs (such as events that indicate an animation has finished running, a video has been paused, and so forth)." href="../../js/html/Event.html">Event</a>, <a class="type" title="The basic String class." href="../../String.html">String</a>&gt;&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The basic String class." href="../../String.html">String</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Int type." href="../../Int.html">Int</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Int type." href="../../Int.html">Int</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p></p></div></div></div><h3 class="section">Methods</h3><div class="fields"><div class="field "><a name="alert"></a><h3><p><code><a href="#alert"><span class="identifier">alert</span></a> (<span style="white-space:nowrap">message:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p><p><code><a href="#alert"><span class="identifier">alert</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="atob"></a><h3><p><code><a href="#atob"><span class="identifier">atob</span></a> (<span style="white-space:nowrap">atob:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="blur"></a><h3><p><code><a href="#blur"><span class="identifier">blur</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="btoa"></a><h3><p><code><a href="#btoa"><span class="identifier">btoa</span></a> (<span style="white-space:nowrap">btoa:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="cancelAnimationFrame"></a><h3><p><code><a href="#cancelAnimationFrame"><span class="identifier">cancelAnimationFrame</span></a> (<span style="white-space:nowrap">handle:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="captureEvents"></a><h3><p><code><a href="#captureEvents"><span class="identifier">captureEvents</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Registers the window to capture all events of the specified type.</p></div></div><div class="field "><a name="clearInterval"></a><h3><p><code><a href="#clearInterval"><span class="identifier">clearInterval</span></a> (<span style="white-space:nowrap">handle:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0</span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="clearTimeout"></a><h3><p><code><a href="#clearTimeout"><span class="identifier">clearTimeout</span></a> (<span style="white-space:nowrap">handle:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0</span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="close"></a><h3><p><code><a href="#close"><span class="identifier">close</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="confirm"></a><h3><p><code><a href="#confirm"><span class="identifier">confirm</span></a> (<span style="white-space:nowrap">message:<a class="type" title="The basic String class." href="../../String.html">String</a> = ""</span>):<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createImageBitmap"></a><h3><p><code><a href="#createImageBitmap"><span class="identifier">createImageBitmap</span></a> (<span style="white-space:nowrap">aImage:<a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The HTMLImageElement interface provides special properties and methods  for manipulating the layout and presentation of img elements." href="../../js/html/ImageElement.html">ImageElement</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The HTMLVideoElement interface provides special properties and methods for manipulating video objects." href="../../js/html/VideoElement.html">VideoElement</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of canvas elements." href="../../js/html/CanvasElement.html">CanvasElement</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="A Blob object represents a file-like object of immutable, raw data." href="../../js/html/Blob.html">Blob</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The ImageData interface represents the underlying pixel data of an area of a canvas element." href="../../js/html/ImageData.html">ImageData</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="To get an object of this interface, call getContext() on a canvas element, supplying "2d" as the argument: Documentation CanvasRenderingContext2D by Mozilla Contributors, licensed under CC-BY-SA 2." href="../../js/html/CanvasRenderingContext2D.html">CanvasRenderingContext2D</a>, <a class="type" title="The ImageBitmap interface represents a bitmap image which can be drawn to a canvas without undue latency." href="../../js/html/ImageBitmap.html">ImageBitmap</a>&gt;&gt;&gt;&gt;&gt;&gt;,</span> <span style="white-space:nowrap">aSx:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">aSy:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">aSw:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">aSh:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></span>):<a class="type" title="" href="../../js/Promise.html">Promise</a>&lt;<a class="type" title="The ImageBitmap interface represents a bitmap image which can be drawn to a canvas without undue latency." href="../../js/html/ImageBitmap.html">ImageBitmap</a>&gt;</code></p><p><code><a href="#createImageBitmap"><span class="identifier">createImageBitmap</span></a> (<span style="white-space:nowrap">aImage:<a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The HTMLImageElement interface provides special properties and methods  for manipulating the layout and presentation of img elements." href="../../js/html/ImageElement.html">ImageElement</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The HTMLVideoElement interface provides special properties and methods for manipulating video objects." href="../../js/html/VideoElement.html">VideoElement</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of canvas elements." href="../../js/html/CanvasElement.html">CanvasElement</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="A Blob object represents a file-like object of immutable, raw data." href="../../js/html/Blob.html">Blob</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The ImageData interface represents the underlying pixel data of an area of a canvas element." href="../../js/html/ImageData.html">ImageData</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="To get an object of this interface, call getContext() on a canvas element, supplying "2d" as the argument: Documentation CanvasRenderingContext2D by Mozilla Contributors, licensed under CC-BY-SA 2." href="../../js/html/CanvasRenderingContext2D.html">CanvasRenderingContext2D</a>, <a class="type" title="The ImageBitmap interface represents a bitmap image which can be drawn to a canvas without undue latency." href="../../js/html/ImageBitmap.html">ImageBitmap</a>&gt;&gt;&gt;&gt;&gt;&gt;</span>):<a class="type" title="" href="../../js/Promise.html">Promise</a>&lt;<a class="type" title="The ImageBitmap interface represents a bitmap image which can be drawn to a canvas without undue latency." href="../../js/html/ImageBitmap.html">ImageBitmap</a>&gt;</code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="dump"></a><h3><p><code><a href="#dump"><span class="identifier">dump</span></a> (<span style="white-space:nowrap">str:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Writes a message to the console.</p></div></div><div class="field "><a name="fetch"></a><h3><p><code><a href="#fetch"><span class="identifier">fetch</span></a> (<span style="white-space:nowrap">input:<a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The Request interface of the Fetch API represents a resource request." href="../../js/html/Request.html">Request</a>, <a class="type" title="The basic String class." href="../../String.html">String</a>&gt;,</span> <span style="white-space:nowrap">?init:<a class="type" title="" href="../../js/html/RequestInit.html">RequestInit</a></span>):<a class="type" title="" href="../../js/Promise.html">Promise</a>&lt;<a class="type" title="The Response interface of the Fetch API represents the response to a request." href="../../js/html/Response.html">Response</a>&gt;</code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="find"></a><h3><p><code><a href="#find"><span class="identifier">find</span></a> (<span style="white-space:nowrap">str:<a class="type" title="The basic String class." href="../../String.html">String</a> = "",</span> <span style="white-space:nowrap">caseSensitive:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false,</span> <span style="white-space:nowrap">backwards:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false,</span> <span style="white-space:nowrap">wrapAround:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false,</span> <span style="white-space:nowrap">wholeWord:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false,</span> <span style="white-space:nowrap">searchInFrames:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false,</span> <span style="white-space:nowrap">showDialog:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false</span>):<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="focus"></a><h3><p><code><a href="#focus"><span class="identifier">focus</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="getComputedStyle"></a><h3><p><code><a href="#getComputedStyle"><span class="identifier">getComputedStyle</span></a> (<span style="white-space:nowrap">elt:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a>,</span> <span style="white-space:nowrap">pseudoElt:<a class="type" title="The basic String class." href="../../String.html">String</a> = ""</span>):<a class="type" title="CSSStyleDeclaration represents a collection of CSS property-value pairs." href="../../js/html/CSSStyleDeclaration.html">CSSStyleDeclaration</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="getDefaultComputedStyle"></a><h3><p><code><a href="#getDefaultComputedStyle"><span class="identifier">getDefaultComputedStyle</span></a> (<span style="white-space:nowrap">elt:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a>,</span> <span style="white-space:nowrap">pseudoElt:<a class="type" title="The basic String class." href="../../String.html">String</a> = ""</span>):<a class="type" title="CSSStyleDeclaration represents a collection of CSS property-value pairs." href="../../js/html/CSSStyleDeclaration.html">CSSStyleDeclaration</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="getSelection"></a><h3><p><code><a href="#getSelection"><span class="identifier">getSelection</span></a> ():<a class="type" title="Calling the Selection." href="../../js/html/Selection.html">Selection</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="matchMedia"></a><h3><p><code><a href="#matchMedia"><span class="identifier">matchMedia</span></a> (<span style="white-space:nowrap">query:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="A MediaQueryList object maintains a list of media queries on a document, and handles sending notifications to listeners when the media queries on the document change." href="../../js/html/MediaQueryList.html">MediaQueryList</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="moveBy"></a><h3><p><code><a href="#moveBy"><span class="identifier">moveBy</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="moveTo"></a><h3><p><code><a href="#moveTo"><span class="identifier">moveTo</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="open"></a><h3><p><code><a href="#open"><span class="identifier">open</span></a> (<span style="white-space:nowrap">url:<a class="type" title="The basic String class." href="../../String.html">String</a> = "",</span> <span style="white-space:nowrap">target:<a class="type" title="The basic String class." href="../../String.html">String</a> = "",</span> <span style="white-space:nowrap">features:<a class="type" title="The basic String class." href="../../String.html">String</a> = ""</span>):<a class="type" title="The window object represents a window containing a DOM document; the document property points to the DOM document loaded in that window." href="../../js/html/Window.html">Window</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="postMessage"></a><h3><p><code><a href="#postMessage"><span class="identifier">postMessage</span></a> (<span style="white-space:nowrap">message:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a>,</span> <span style="white-space:nowrap">targetOrigin:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">?transfer:<a class="type" title="An Array is a storage for values." href="../../Array.html">Array</a>&lt;<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a>&gt;</span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="print"></a><h3><p><code><a href="#print"><span class="identifier">print</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="prompt"></a><h3><p><code><a href="#prompt"><span class="identifier">prompt</span></a> (<span style="white-space:nowrap">message:<a class="type" title="The basic String class." href="../../String.html">String</a> = "",</span> <span style="white-space:nowrap">default_:<a class="type" title="The basic String class." href="../../String.html">String</a> = ""</span>):<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="releaseEvents"></a><h3><p><code><a href="#releaseEvents"><span class="identifier">releaseEvents</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Releases the window from trapping events of a specific type.</p></div></div><div class="field "><a name="requestAnimationFrame"></a><h3><p><code><a href="#requestAnimationFrame"><span class="identifier">requestAnimationFrame</span></a> (<span style="white-space:nowrap">callback:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>&nbsp;&#8209;&gt;&nbsp;<a class="type" title="The standard Void type." href="../../Void.html">Void</a></span>):<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="resizeBy"></a><h3><p><code><a href="#resizeBy"><span class="identifier">resizeBy</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="resizeTo"></a><h3><p><code><a href="#resizeTo"><span class="identifier">resizeTo</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="scroll"></a><h3><p><code><a href="#scroll"><span class="identifier">scroll</span></a> (<span style="white-space:nowrap">?options:<a class="type" title="" href="../../js/html/ScrollToOptions.html">ScrollToOptions</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p><p><code><a href="#scroll"><span class="identifier">scroll</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="scrollBy"></a><h3><p><code><a href="#scrollBy"><span class="identifier">scrollBy</span></a> (<span style="white-space:nowrap">?options:<a class="type" title="" href="../../js/html/ScrollToOptions.html">ScrollToOptions</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p><p><code><a href="#scrollBy"><span class="identifier">scrollBy</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="scrollByLines"></a><h3><p><code><a href="#scrollByLines"><span class="identifier">scrollByLines</span></a> (<span style="white-space:nowrap">numLines:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">?options:<a class="type" title="" href="../../js/html/ScrollOptions.html">ScrollOptions</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Scrolls the document by the given number of lines.</p></div></div><div class="field "><a name="scrollByPages"></a><h3><p><code><a href="#scrollByPages"><span class="identifier">scrollByPages</span></a> (<span style="white-space:nowrap">numPages:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">?options:<a class="type" title="" href="../../js/html/ScrollOptions.html">ScrollOptions</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Scrolls the current document by the specified number of pages.</p></div></div><div class="field "><a name="scrollTo"></a><h3><p><code><a href="#scrollTo"><span class="identifier">scrollTo</span></a> (<span style="white-space:nowrap">?options:<a class="type" title="" href="../../js/html/ScrollToOptions.html">ScrollToOptions</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p><p><code><a href="#scrollTo"><span class="identifier">scrollTo</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="setInterval"></a><h3><p><code><a href="#setInterval"><span class="identifier">setInterval</span></a> (<span style="white-space:nowrap">handler:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">?timeout:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">unused:<a class="type" title="A special abstract type that represents "rest" function argument." href="../../haxe/extern/Rest.html">Rest</a>&lt;<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a>&gt;</span>):<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p><p><code><a href="#setInterval"><span class="identifier">setInterval</span></a> (<span style="white-space:nowrap">handler:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a>,</span> <span style="white-space:nowrap">?timeout:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">arguments:<a class="type" title="A special abstract type that represents "rest" function argument." href="../../haxe/extern/Rest.html">Rest</a>&lt;<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a>&gt;</span>):<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="setResizable"></a><h3><p><code><a href="#setResizable"><span class="identifier">setResizable</span></a> (<span style="white-space:nowrap">resizable:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Toggles a user's ability to resize a window.</p></div></div><div class="field "><a name="setTimeout"></a><h3><p><code><a href="#setTimeout"><span class="identifier">setTimeout</span></a> (<span style="white-space:nowrap">handler:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">timeout:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">unused:<a class="type" title="A special abstract type that represents "rest" function argument." href="../../haxe/extern/Rest.html">Rest</a>&lt;<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a>&gt;</span>):<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p><p><code><a href="#setTimeout"><span class="identifier">setTimeout</span></a> (<span style="white-space:nowrap">handler:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a>,</span> <span style="white-space:nowrap">timeout:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">arguments:<a class="type" title="A special abstract type that represents "rest" function argument." href="../../haxe/extern/Rest.html">Rest</a>&lt;<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a>&gt;</span>):<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="sizeToContent"></a><h3><p><code><a href="#sizeToContent"><span class="identifier">sizeToContent</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="stop"></a><h3><p><code><a href="#stop"><span class="identifier">stop</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="updateCommands"></a><h3><p><code><a href="#updateCommands"><span class="identifier">updateCommands</span></a> (<span style="white-space:nowrap">action:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">?sel:<a class="type" title="Calling the Selection." href="../../js/html/Selection.html">Selection</a>,</span> <span style="white-space:nowrap">reason:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0</span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Updates the state of commands of the current chrome window (UI).</p></div></div></div> <div class="inherited-fields well"><h3 class="section">Inherited Variables</h3><div class="fields"><div style="display:none"></div></div><h3 class="section">Inherited Methods</h3><div class="fields"><h4><a href="#" class="expand-button"><i class="fa fa-arrow-circle-o-right"></i></a> Defined by <a class="type" title="EventTarget is an interface implemented by objects that can receive events and may have listeners for them." href="../../js/html/EventTarget.html">EventTarget</a></h4><div style="display:none"><div class="field "><a name="addEventListener"></a><h3><p><code><a href="#addEventListener"><span class="identifier">addEventListener</span></a> (<span style="white-space:nowrap">type:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">listener:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a>,</span> <span style="white-space:nowrap">capture:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false</span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p><p><code><a href="#addEventListener"><span class="identifier">addEventListener</span></a> (<span style="white-space:nowrap">type:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">listener:<a class="type" title="This method is called whenever an event occurs of the type for which the EventListener interface was registered." href="../../js/html/EventListener.html">EventListener</a>,</span> <span style="white-space:nowrap">capture:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false,</span> <span style="white-space:nowrap">?wantsUntrusted:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="dispatchEvent"></a><h3><p><code><a href="#dispatchEvent"><span class="identifier">dispatchEvent</span></a> (<span style="white-space:nowrap">event:<a class="type" title="The Event interface represents any event which takes place in the DOM; some are user-generated (such as mouse or keyboard events), while others are generated by APIs (such as events that indicate an animation has finished running, a video has been paused, and so forth)." href="../../js/html/Event.html">Event</a></span>):<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="removeEventListener"></a><h3><p><code><a href="#removeEventListener"><span class="identifier">removeEventListener</span></a> (<span style="white-space:nowrap">type:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">listener:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a>,</span> <span style="white-space:nowrap">capture:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false</span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p><p><code><a href="#removeEventListener"><span class="identifier">removeEventListener</span></a> (<span style="white-space:nowrap">type:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">listener:<a class="type" title="This method is called whenever an event occurs of the type for which the EventListener interface was registered." href="../../js/html/EventListener.html">EventListener</a>,</span> <span style="white-space:nowrap">capture:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false</span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div></div></div></div></div></div></div></div><footer class="section site-footer" style="background:#FAFAFA"><div class="container"><div class="copyright"><p style="color:#777777">&copy; 2017 &nbsp;<a style="color:#777777" href="http://www.openfl.org">http://www.openfl.org</a></p></div></div></footer><script src="../..//highlighter.js"></script><link href="../../highlighter.css" rel="stylesheet"/></body></html>