The Window interface represents a window containing a DOM document; document property points to the DOM document loaded in that window.
The Window interface represents a window containing a DOM document; document property points to the DOM document loaded in that window.
(add-event-listener this & args)
Method.
The web.EventTarget
method addEventListener() sets up a function
will be called whenever the specified event is delivered to the
target.addEventListener(type, listener[, options]); target.addEventListener(type, listener[, useCapture]); target.addEventListener(type, listener[, useCapture, wantsUntrusted ]); // Gecko/Mozilla only
See also: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
Method. The `web.EventTarget` method addEventListener() sets up a function will be called whenever the specified event is delivered to the `target.addEventListener(type, listener[, options]); target.addEventListener(type, listener[, useCapture]); target.addEventListener(type, listener[, useCapture, wantsUntrusted ]); // Gecko/Mozilla only` See also: `https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener`
(alert this message)
Method.
The Window.alert() method displays an alert dialog with the optional content and an OK button.
window.alert(message);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/alert
Method. The Window.alert() method displays an alert dialog with the optional content and an OK button. `window.alert(message);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/alert`
(application-cache this)
Property.
Returns a reference to the application cache object for the window.
cache = window.applicationCache
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/applicationCache
Property. Returns a reference to the application cache object for the window. `cache = window.applicationCache` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/applicationCache`
(atob this encoded-data)
Method.
The WindowOrWorkerGlobalScope.atob() function decodes a string
data which has been encoded using base-64 encoding. You can use
btoa()
method to encode and transmit data which may otherwise
communication problems, then transmit it and use the atob() method
decode the data again. For example, you can encode, transmit,
decode control characters such as ASCII values 0 through 31.
var decodedData = scope.atob(encodedData);
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/atob
Method. The WindowOrWorkerGlobalScope.atob() function decodes a string data which has been encoded using base-64 encoding. You can use `btoa()` method to encode and transmit data which may otherwise communication problems, then transmit it and use the atob() method decode the data again. For example, you can encode, transmit, decode control characters such as ASCII values 0 through 31. `var decodedData = scope.atob(encodedData);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/atob`
(back this)
Method.
[Deprecated] [Non Standard]
The obsolete and non-standard method back() on the window
interface
the window to the previous item in the history. This was a Firefox-specific
and was removed in Firefox 31.
window.back();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/back
Method. [Deprecated] [Non Standard] The obsolete and non-standard method back() on the `window` interface the window to the previous item in the history. This was a Firefox-specific and was removed in Firefox 31. `window.back();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/back`
(blur this)
Method.
Shifts focus away from the window.
window.blur()
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/blur
Method. Shifts focus away from the window. `window.blur()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/blur`
(btoa this string-to-encode)
Method.
The WindowOrWorkerGlobalScope.btoa() method creates a base-64
ASCII string from a binary string (i.e., a js.String
object
which each character in the string is treated as a byte of binary
var encodedData = scope.btoa(stringToEncode);
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/btoa
Method. The WindowOrWorkerGlobalScope.btoa() method creates a base-64 ASCII string from a binary string (i.e., a `js.String` object which each character in the string is treated as a byte of binary `var encodedData = scope.btoa(stringToEncode);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/btoa`
(caches this)
Property.
[Read Only] [Experimental]
The caches read-only property of the web.WindowOrWorkerGlobalScope
returns the web.service-workers.CacheStorage
object associated
the current context. This object enables functionality such as
assets for offline use, and generating custom responses to requests.
var myCacheStorage = self.caches; // or just caches
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/caches
Property. [Read Only] [Experimental] The caches read-only property of the `web.WindowOrWorkerGlobalScope` returns the `web.service-workers.CacheStorage` object associated the current context. This object enables functionality such as assets for offline use, and generating custom responses to requests. `var myCacheStorage = self.caches; // or just caches` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/caches`
(cancel-animation-frame this request-id)
Method.
The window.cancelAnimationFrame() method cancels an animation
request previously scheduled through a call to window.requestAnimationFrame()
.
window.cancelAnimationFrame(requestID);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame
Method. The window.cancelAnimationFrame() method cancels an animation request previously scheduled through a call to `window.requestAnimationFrame()`. `window.cancelAnimationFrame(requestID);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame`
(cancel-idle-callback this handle)
Method.
[Experimental]
The window.cancelIdleCallback() method cancels a callback previously
with window.requestIdleCallback()
.
window.cancelIdleCallback(handle);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelIdleCallback
Method. [Experimental] The window.cancelIdleCallback() method cancels a callback previously with `window.requestIdleCallback()`. `window.cancelIdleCallback(handle);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelIdleCallback`
(capture-events this & args)
Method.
[Deprecated] [Non Standard]
The Window.captureEvents() method registers the window to capture events of the specified type.
`window.captureEvents(eventType)
eventType is a combination of the following values: Event.ABORT, Event.BLUR, Event.CLICK, Event.CHANGE, Event.DBLCLICK, Event.DRAGDDROP, Event.ERROR, Event.FOCUS, Event.KEYDOWN, Event.KEYPRESS, Event.KEYUP, Event.LOAD, Event.MOUSEDOWN, Event.MOUSEMOVE, Event.MOUSEOUT, Event.MOUSEOVER, Event.MOUSEUP, Event.MOVE, Event.RESET, Event.RESIZE, Event.SELECT, Event.SUBMIT, Event.UNLOAD.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/captureEvents
Method. [Deprecated] [Non Standard] The Window.captureEvents() method registers the window to capture events of the specified type. `window.captureEvents(eventType) eventType is a combination of the following values: Event.ABORT, Event.BLUR, Event.CLICK, Event.CHANGE, Event.DBLCLICK, Event.DRAGDDROP, Event.ERROR, Event.FOCUS, Event.KEYDOWN, Event.KEYPRESS, Event.KEYUP, Event.LOAD, Event.MOUSEDOWN, Event.MOUSEMOVE, Event.MOUSEOUT, Event.MOUSEOVER, Event.MOUSEUP, Event.MOVE, Event.RESET, Event.RESIZE, Event.SELECT, Event.SUBMIT, Event.UNLOAD.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/captureEvents`
(clear-immediate this & args)
Method.
This method clears the action specified by window.setImmediate
.
`window.clearImmediate(immediateID)
where immediateID is a ID returned by window.setImmediate
.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/clearImmediate
Method. This method clears the action specified by `window.setImmediate`. `window.clearImmediate(immediateID) where immediateID is a ID returned by `window.setImmediate`.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/clearImmediate`
(clear-interval this interval-id)
Method.
The clearInterval() method of the web.WindowOrWorkerGlobalScope
cancels a timed, repeating action which was previously established
a call to setInterval()
.
scope.clearInterval(intervalID)
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearInterval
Method. The clearInterval() method of the `web.WindowOrWorkerGlobalScope` cancels a timed, repeating action which was previously established a call to `setInterval()`. `scope.clearInterval(intervalID)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearInterval`
(clear-timeout this timeout-id)
Method.
The clearTimeout() method of the web.WindowOrWorkerGlobalScope
cancels a timeout previously established by calling setTimeout()
.
scope.clearTimeout(timeoutID)
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearTimeout
Method. The clearTimeout() method of the `web.WindowOrWorkerGlobalScope` cancels a timeout previously established by calling `setTimeout()`. `scope.clearTimeout(timeoutID)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearTimeout`
(close this)
Method.
The Window.close() method closes the current window, or the window which it was called.
window.close();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/close
Method. The Window.close() method closes the current window, or the window which it was called. `window.close();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/close`
(closed this)
Property.
[Read Only]
The Window.closed read-only property indicates whether the referenced is closed or not.
isClosed = windowRef.closed;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/closed
Property. [Read Only] The Window.closed read-only property indicates whether the referenced is closed or not. `isClosed = windowRef.closed;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/closed`
(confirm this & args)
Method.
The Window.confirm() method displays a modal dialog with an optional and two buttons: OK and Cancel.
`result = window.confirm(message);
message is an optional string to display in the dialog. result is a boolean indicating whether OK (true) or Cancel (false) was selected. If a browser is ignoring in-page dialogs, then result is always false.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm
Method. The Window.confirm() method displays a modal dialog with an optional and two buttons: OK and Cancel. `result = window.confirm(message); message is an optional string to display in the dialog. result is a boolean indicating whether OK (true) or Cancel (false) was selected. If a browser is ignoring in-page dialogs, then result is always false.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm`
(console this)
Property.
[Read Only]
The Window.console property returns a reference to the Console
which provides methods for logging information to the browser's
These methods are intended for debugging purposes only and should
be relied on for presenting information to end users.
var consoleObj = window.console;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/console
Property. [Read Only] The Window.console property returns a reference to the `Console` which provides methods for logging information to the browser's These methods are intended for debugging purposes only and should be relied on for presenting information to end users. `var consoleObj = window.console;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/console`
(content this)
Property.
[Read Only] [Non Standard]
Returns a Window object for the primary content window. This useful in XUL windows that have a <browser> (or tabbrowser or with type="content-primary" attribute on it — the most famous is Firefox main window, browser.xul. In such cases, content returns reference to the Window object for the document currently displayed the browser. It is a shortcut for browserRef.contentWindow.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/content
Property. [Read Only] [Non Standard] Returns a Window object for the primary content window. This useful in XUL windows that have a <browser> (or tabbrowser or with type=\"content-primary\" attribute on it — the most famous is Firefox main window, browser.xul. In such cases, content returns reference to the Window object for the document currently displayed the browser. It is a shortcut for browserRef.contentWindow. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/content`
(controllers this)
Property.
[Read Only] [Non Standard]
The controllers property of the web.Window
interface returns
XUL controllers of the chrome window.
`controllers = window.controllers
controllers is an object of type XULControllers
(nsIControllers
).`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/controllers
Property. [Read Only] [Non Standard] The controllers property of the `web.Window` interface returns XUL controllers of the chrome window. `controllers = window.controllers controllers is an object of type `XULControllers` (`nsIControllers`).` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/controllers`
(convert-point-from-node-to-page this node node-point)
Method.
[Non Standard]
Given a web.css.Point
specified in a particular DOM web.Node
's
system, the web.Window
method convertPointFromNodeToPage()
a Point which specifies the same position in the page's coordinate
This method is non-standard and should not be used.
Point = Window.convertPointFromNodeToPage(node, nodePoint);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/convertPointFromNodeToPage
Method. [Non Standard] Given a `web.css.Point` specified in a particular DOM `web.Node`'s system, the `web.Window` method convertPointFromNodeToPage() a Point which specifies the same position in the page's coordinate This method is non-standard and should not be used. `Point = Window.convertPointFromNodeToPage(node, nodePoint);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/convertPointFromNodeToPage`
(convert-point-from-page-to-node this node page-point)
Method.
[Non Standard]
Given a web.css.Point
specified in the page's coordinate system,
web.Window
method convertPointFromPageToNode() returns a Point
specifying the same location in the coordinate system of the
DOM web.Node
.
Point = Window.convertPointFromPageToNode(node, pagePoint);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/convertPointFromPageToNode
Method. [Non Standard] Given a `web.css.Point` specified in the page's coordinate system, `web.Window` method convertPointFromPageToNode() returns a Point specifying the same location in the coordinate system of the DOM `web.Node`. `Point = Window.convertPointFromPageToNode(node, pagePoint);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/convertPointFromPageToNode`
(create-image-bitmap this & args)
Method.
The createImageBitmap() method creates a bitmap from a given
optionally cropped to contain only a portion of that source.
method exists on the global scope in both windows and workers.
accepts a variety of different image sources, and returns a js.Promise
resolves to an web.canvas.ImageBitmap
.
const imageBitmapPromise = createImageBitmap(image[, options]); const imageBitmapPromise = createImageBitmap(image, sx, sy, sw, sh[, options]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap
Method. The createImageBitmap() method creates a bitmap from a given optionally cropped to contain only a portion of that source. method exists on the global scope in both windows and workers. accepts a variety of different image sources, and returns a `js.Promise` resolves to an `web.canvas.ImageBitmap`. `const imageBitmapPromise = createImageBitmap(image[, options]); const imageBitmapPromise = createImageBitmap(image, sx, sy, sw, sh[, options]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap`
(crypto this)
Property.
[Read Only]
The Window.crypto
property returns the web.crypto.Crypto
associated to the global object. This object allows web pages
to certain cryptographic related services. Although the Window.crypto
iteself is read-only, all of its methods (and the methods of
child object, web.crypto.SubtleCrypto
) are not read-only, and
vulnerable to attack by polyfill.
var cryptoObj = window.crypto || window.msCrypto; // for IE 11
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto
Property. [Read Only] The `Window.crypto` property returns the `web.crypto.Crypto` associated to the global object. This object allows web pages to certain cryptographic related services. Although the `Window.crypto` iteself is read-only, all of its methods (and the methods of child object, `web.crypto.SubtleCrypto`) are not read-only, and vulnerable to attack by polyfill. `var cryptoObj = window.crypto || window.msCrypto; // for IE 11` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto`
(custom-elements this)
Property.
[Read Only]
The customElements read-only property of the web.Window
interface
a reference to the web.web-components.CustomElementRegistry
which can be used to register new custom elements and get information
previously registered custom elements.
let customElementRegistry = window.customElements;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/customElements
Property. [Read Only] The customElements read-only property of the `web.Window` interface a reference to the `web.web-components.CustomElementRegistry` which can be used to register new custom elements and get information previously registered custom elements. `let customElementRegistry = window.customElements;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/customElements`
(default-status this)
Property.
[Obsolute]
Gets/sets the status bar text for the given window.
var sMsg = window.defaultStatus; window.defaultStatus = sMsg;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/defaultStatus
Property. [Obsolute] Gets/sets the status bar text for the given window. `var sMsg = window.defaultStatus; window.defaultStatus = sMsg;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/defaultStatus`
(device-pixel-ratio this)
Property.
[Read Only]
The web.Window
property devicePixelRatio returns the ratio
the resolution in physical pixels to the resolution in CSS pixels
the current display device.
value = window.devicePixelRatio;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio
Property. [Read Only] The `web.Window` property devicePixelRatio returns the ratio the resolution in physical pixels to the resolution in CSS pixels the current display device. `value = window.devicePixelRatio;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio`
(dialog-arguments this)
Property.
[Read Only] [Deprecated]
The dialogArguments property returns the parameters that were
into the window.showModalDialog()
method.
value = window.dialogArguments;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/dialogArguments
Property. [Read Only] [Deprecated] The dialogArguments property returns the parameters that were into the `window.showModalDialog()` method. `value = window.dialogArguments;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/dialogArguments`
(directories this)
Property.
[Obsolute]
Returned the window personalbar toolbar object. Use the window.personalbar
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/directories
Property. [Obsolute] Returned the window personalbar toolbar object. Use the `window.personalbar` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/directories`
(disable-external-capture this & args)
Method.
FIXME: NeedsContents
Method. FIXME: NeedsContents
(dispatch-event this & args)
Method.
Used to trigger an event.
Method. Used to trigger an event.
(document this)
Property.
[Read Only]
window.document returns a reference to the document contained the window.
doc = window.document
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/document
Property. [Read Only] window.document returns a reference to the document contained the window. `doc = window.document` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/document`
(dom-matrix this)
Property.
Returns a reference to a DOMMatrix object, which represents 4x4 suitable for 2D and 3D operations.
Property. Returns a reference to a DOMMatrix object, which represents 4x4 suitable for 2D and 3D operations.
(dom-matrix-read-only this)
Property.
Returns a reference to a DOMMatrixReadOnly object, which represents matrices, suitable for 2D and 3D operations.
Property. Returns a reference to a DOMMatrixReadOnly object, which represents matrices, suitable for 2D and 3D operations.
(dom-point this)
Property.
Returns a reference to a DOMPoint object, which represents a or 3D point in a coordinate system.
Property. Returns a reference to a DOMPoint object, which represents a or 3D point in a coordinate system.
(dom-point-read-only this)
Property.
Returns a reference to a DOMPointReadOnly object, which represents 2D or 3D point in a coordinate system.
Property. Returns a reference to a DOMPointReadOnly object, which represents 2D or 3D point in a coordinate system.
(dom-quad this)
Property.
Returns a reference to a DOMQuad object, which provides represents quadrilaterial object, that is one having four corners and four
Property. Returns a reference to a DOMQuad object, which provides represents quadrilaterial object, that is one having four corners and four
(dom-rect this)
Property.
Returns a reference to a DOMRect object, which represents a rectangle.
Property. Returns a reference to a DOMRect object, which represents a rectangle.
(dom-rect-read-only this)
Property.
Returns a reference to a DOMRectReadOnly object, which represents rectangle.
Property. Returns a reference to a DOMRectReadOnly object, which represents rectangle.
(dump this & args)
Method.
[Non Standard]
Window.dump() prints messages to the (native) console.
`window.dump(message);
dump(message);`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/dump
Method. [Non Standard] Window.dump() prints messages to the (native) console. `window.dump(message); dump(message);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/dump`
(enable-external-capture this & args)
Method.
FIXME: NeedsContents
Method. FIXME: NeedsContents
(event this)
Property.
[Read Only]
The read-only web.Window
property event returns the web.event.Event
is currently being handled by the site's code. Outside the context
an event handler, the value is always undefined.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/event
Property. [Read Only] The read-only `web.Window` property event returns the `web.event.Event` is currently being handled by the site's code. Outside the context an event handler, the value is always undefined. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/event`
(fetch this resource init)
Method.
The fetch() method of the web.WindowOrWorkerGlobalScope
mixin
the process of fetching a resource from the network, returning
promise which is fulfilled once the response is available.
fetchResponsePromise = fetch(resource, init);
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch
Method. The fetch() method of the `web.WindowOrWorkerGlobalScope` mixin the process of fetching a resource from the network, returning promise which is fulfilled once the response is available. `fetchResponsePromise = fetch(resource, init);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch`
(find this & args)
Method.
[Non Standard]
The Window.find() method finds a string in a window.
`window.find(aString, aCaseSensitive, aBackwards, aWrapAround, aWholeWord, aSearchInFrames, aShowDialog);
aString
The text string for which to search.
aCaseSensitive
js.Boolean
. If true, specifies a case-sensitive search.
aBackwards
js.Boolean
. If true, specifies a backward search.
aWrapAround
js.Boolean
. If true, specifies a wrap around search.
aWholeWord Unimplemented
js.Boolean
. If true, specifies a whole word search. This is not implemented; see bug 481513.
aSearchInFrames
js.Boolean
. If true, specifies a search in frames.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/find
Method. [Non Standard] The Window.find() method finds a string in a window. `window.find(aString, aCaseSensitive, aBackwards, aWrapAround, aWholeWord, aSearchInFrames, aShowDialog); aString The text string for which to search. aCaseSensitive `js.Boolean`. If true, specifies a case-sensitive search. aBackwards `js.Boolean`. If true, specifies a backward search. aWrapAround `js.Boolean`. If true, specifies a wrap around search. aWholeWord Unimplemented `js.Boolean`. If true, specifies a whole word search. This is not implemented; see bug 481513. aSearchInFrames `js.Boolean`. If true, specifies a search in frames.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/find`
(focus this)
Method.
Makes a request to bring the window to the front. It may fail to user settings and the window isn't guaranteed to be frontmost this method returns.
window.focus()
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/focus
Method. Makes a request to bring the window to the front. It may fail to user settings and the window isn't guaranteed to be frontmost this method returns. `window.focus()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/focus`
(forward this)
Method.
[Deprecated] [Non Standard]
Moves the window one document forward in history. This was a method and was removed in Firefox 31.
window.forward();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/forward
Method. [Deprecated] [Non Standard] Moves the window one document forward in history. This was a method and was removed in Firefox 31. `window.forward();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/forward`
(frame-element this)
Property.
[Read Only]
Returns the element (such as <iframe>
or <object>
) in which
window is embedded, or null if the element is either top-level
is embedded into a document with a different script origin; that
in cross-origin situations.
`frameEl = window.frameElement;
frameEl is the element which the window is embedded into. If the window isn't embedded into another document, or if the document into which it's embedded has a different origin (such as having been located from a different domain), this is null.
Despite this property's name, it works for documents embedded within any embedding point, including <object>
, <iframe>
, or <embed>
.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/frameElement
Property. [Read Only] Returns the element (such as `<iframe>` or `<object>`) in which window is embedded, or null if the element is either top-level is embedded into a document with a different script origin; that in cross-origin situations. `frameEl = window.frameElement; frameEl is the element which the window is embedded into. If the window isn't embedded into another document, or if the document into which it's embedded has a different origin (such as having been located from a different domain), this is null. Despite this property's name, it works for documents embedded within any embedding point, including `<object>`, `<iframe>`, or `<embed>`.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/frameElement`
(frames this)
Property.
[Read Only]
Returns the window itself, which is an array-like object, listing direct sub-frames of the current window.
`frameList = window.frames;
frameList is a list of frame objects. It is similar to an array in that it has a length property and its items can be accessed using the [i] notation. frameList === window evaluates to true. Each item in the window.frames pseudo-array represents the window object corresponding to the given <frame>'s or <iframe>'s content, not the (i)frame DOM element (i.e., window.frames[0] is the same thing as document.getElementsByTagName("iframe")[0].contentWindow). For more details about the returned value, refer to this thread on mozilla.dev.platform [dead link].`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/frames
Property. [Read Only] Returns the window itself, which is an array-like object, listing direct sub-frames of the current window. `frameList = window.frames; frameList is a list of frame objects. It is similar to an array in that it has a length property and its items can be accessed using the [i] notation. frameList === window evaluates to true. Each item in the window.frames pseudo-array represents the window object corresponding to the given <frame>'s or <iframe>'s content, not the (i)frame DOM element (i.e., window.frames[0] is the same thing as document.getElementsByTagName(\"iframe\")[0].contentWindow). For more details about the returned value, refer to this thread on mozilla.dev.platform [dead link].` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/frames`
(full-screen this)
Property.
The fullScreen property of the Window interface indicates whether window is displayed in full screen mode or not. It is only reliable Gecko 1.9 (Firefox 3) and later; see the Notes below.
`isInFullScreen = windowRef.fullScreen;
With chrome privileges, the property is read-write, otherwise it is read-only. Bear in mind that if you try to set this property without chrome privileges, it will not throw an exception and instead just silently fail. This is to prevent scripts designed to set this property in Internet Explorer from breaking.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/fullScreen
Property. The fullScreen property of the Window interface indicates whether window is displayed in full screen mode or not. It is only reliable Gecko 1.9 (Firefox 3) and later; see the Notes below. `isInFullScreen = windowRef.fullScreen; With chrome privileges, the property is read-write, otherwise it is read-only. Bear in mind that if you try to set this property without chrome privileges, it will not throw an exception and instead just silently fail. This is to prevent scripts designed to set this property in Internet Explorer from breaking.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/fullScreen`
(get-attention this)
Method.
The Window.getAttention() method attempts to get the user's attention. mechanism for this happening depends on the specific operating and window manager.
window.getAttention();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/getAttention
Method. The Window.getAttention() method attempts to get the user's attention. mechanism for this happening depends on the specific operating and window manager. `window.getAttention();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/getAttention`
(get-attention-with-cycle-count this & args)
Method.
FIXME: NeedsContents
Method. FIXME: NeedsContents
(get-computed-style this & args)
Method.
The Window.getComputedStyle() method returns an object containing values of all CSS properties of an element, after applying active and resolving any basic computation those values may contain.
`var style = window.getComputedStyle(element [, pseudoElt]);
element
The web.Element
for which to get the computed style.
pseudoEltOptional
A string specifying the pseudo-element to match. Omitted (or null) for real elements.
The returned style is a live web.cssdom.CSSStyleDeclaration
object, which updates automatically when the element's styles are changed.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle
Method. The Window.getComputedStyle() method returns an object containing values of all CSS properties of an element, after applying active and resolving any basic computation those values may contain. `var style = window.getComputedStyle(element [, pseudoElt]); element The `web.Element` for which to get the computed style. pseudoEltOptional A string specifying the pseudo-element to match. Omitted (or null) for real elements. The returned style is a live `web.cssdom.CSSStyleDeclaration` object, which updates automatically when the element's styles are changed.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle`
(get-default-computed-style this & args)
Method.
[Non Standard]
The getDefaultComputedStyle() method gives the default computed of all the CSS properties of an element, ignoring author styling. is, only user-agent and user styles are taken into account.
var style = window.getDefaultComputedStyle(element [, pseudoElt]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/window/getDefaultComputedStyle
Method. [Non Standard] The getDefaultComputedStyle() method gives the default computed of all the CSS properties of an element, ignoring author styling. is, only user-agent and user styles are taken into account. `var style = window.getDefaultComputedStyle(element [, pseudoElt]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/window/getDefaultComputedStyle`
(get-selection this)
Method.
The Window.getSelection() method returns a web.other.Selection
representing the range of text selected by the user or the current
of the caret.
selection = window.getSelection();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection
Method. The Window.getSelection() method returns a `web.other.Selection` representing the range of text selected by the user or the current of the caret. `selection = window.getSelection();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection`
(global-storage this)
Property.
Unsupported since Gecko 13 (Firefox 13). Use Window.localStorage Was: Multiple storage objects that are used for storing data multiple pages.
Property. Unsupported since Gecko 13 (Firefox 13). Use Window.localStorage Was: Multiple storage objects that are used for storing data multiple pages.
(history this)
Property.
[Read Only]
The Window.history read-only property returns a reference to
web.dom.History
object, which provides an interface for manipulating
browser session history (pages visited in the tab or frame that
current page is loaded in).
var historyObj = window.history;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/history
Property. [Read Only] The Window.history read-only property returns a reference to `web.dom.History` object, which provides an interface for manipulating browser session history (pages visited in the tab or frame that current page is loaded in). `var historyObj = window.history;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/history`
(home this)
Method.
[Non Standard] [Obsolute]
The Window.home() method returns the window to the home page.
window.home();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/home
Method. [Non Standard] [Obsolute] The Window.home() method returns the window to the home page. `window.home();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/home`
(indexed-db this)
Property.
[Read Only]
The indexedDB read-only property of the web.WindowOrWorkerGlobalScope
provides a mechanism for applications to asynchronously access
capabilities of indexed databases.
var IDBFactory = self.indexedDB;
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/indexedDB
Property. [Read Only] The indexedDB read-only property of the `web.WindowOrWorkerGlobalScope` provides a mechanism for applications to asynchronously access capabilities of indexed databases. `var IDBFactory = self.indexedDB;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/indexedDB`
(inner-height this)
Property.
[Read Only]
Height (in pixels) of the browser window viewport including, rendered, the horizontal scrollbar.
var intViewportHeight = window.innerHeight;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight
Property. [Read Only] Height (in pixels) of the browser window viewport including, rendered, the horizontal scrollbar. `var intViewportHeight = window.innerHeight;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight`
(inner-width this)
Property.
[Read Only]
Width (in pixels) of the browser window viewport including, if the vertical scrollbar.
var intViewportWidth = window.innerWidth;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth
Property. [Read Only] Width (in pixels) of the browser window viewport including, if the vertical scrollbar. `var intViewportWidth = window.innerWidth;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth`
(is-secure-context this)
Property.
[Read Only] [Experimental]
The window.isSecureContext read-only property indicates whether context is capable of using features that require secure contexts.
var isSecure = window.isSecureContext
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/isSecureContext
Property. [Read Only] [Experimental] The window.isSecureContext read-only property indicates whether context is capable of using features that require secure contexts. `var isSecure = window.isSecureContext` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/isSecureContext`
(length this)
Property.
[Read Only]
Returns the number of frames (either <frame>
or <iframe>
in the window.
`framesCount = window.length;
framesCount is the number of frames.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/length
Property. [Read Only] Returns the number of frames (either `<frame>` or `<iframe>` in the window. `framesCount = window.length; framesCount is the number of frames.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/length`
(local-storage this)
Property.
[Read Only]
The read-only localStorage property allows you to access a web.storage.Storage
for the web.Document
's origin; the stored data is saved across
sessions.
myStorage = window.localStorage;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
Property. [Read Only] The read-only localStorage property allows you to access a `web.storage.Storage` for the `web.Document`'s origin; the stored data is saved across sessions. `myStorage = window.localStorage;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage`
(location this)
Property.
[Read Only]
The Window.location read-only property returns a web.dom.Location
with information about the current location of the document.
var oldLocation = location; location = newLocation;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/location
Property. [Read Only] The Window.location read-only property returns a `web.dom.Location` with information about the current location of the document. `var oldLocation = location; location = newLocation;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/location`
(locationbar this)
Property.
[Read Only]
Returns the locationbar object, whose visibility can be checked.
objRef = window.locationbar
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/locationbar
Property. [Read Only] Returns the locationbar object, whose visibility can be checked. `objRef = window.locationbar` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/locationbar`
(match-media this media-query-string)
Method.
The web.Window
interface's matchMedia() method returns a new
object representing the parsed results of the specified media
string. The returned MediaQueryList can then be used to determine
the web.Document
matches the media query, or to monitor a document
detect when it matches or stops matching the media query.
mqList = window.matchMedia(mediaQueryString)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia
Method. The `web.Window` interface's matchMedia() method returns a new object representing the parsed results of the specified media string. The returned MediaQueryList can then be used to determine the `web.Document` matches the media query, or to monitor a document detect when it matches or stops matching the media query. `mqList = window.matchMedia(mediaQueryString)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia`
(maximize this & args)
Method.
FIXME: NeedsContents
Method. FIXME: NeedsContents
(menubar this)
Property.
[Read Only]
The Window.menubar property returns the menubar object, whose can be checked.
objRef = window.menubar
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/menubar
Property. [Read Only] The Window.menubar property returns the menubar object, whose can be checked. `objRef = window.menubar` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/menubar`
(message-manager this)
Property.
Returns the message manager object for this window.
Property. Returns the message manager object for this window.
(minimize this & args)
Method.
The Window.minimize() method sets the window to a minimized state.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/minimize
Method. The Window.minimize() method sets the window to a minimized state. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/minimize`
(move-by this delta-x delta-y)
Method.
The moveBy() method of the web.Window
interface moves the current
by a specified amount.
window.moveBy(deltaX, deltaY)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/moveBy
Method. The moveBy() method of the `web.Window` interface moves the current by a specified amount. `window.moveBy(deltaX, deltaY)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/moveBy`
(move-to this x y)
Method.
The moveTo() method of the web.Window
interface moves the current
to the specified coordinates.
window.moveTo(x, y)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/moveTo
Method. The moveTo() method of the `web.Window` interface moves the current to the specified coordinates. `window.moveTo(x, y)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/moveTo`
(moz-animation-start-time this)
Property.
[Read Only] [Non Standard]
Returns the time, in milliseconds since the epoch, at which animations now should be considered to have started. This value should be instead of, for example, Date.now(), because this value will the same for all animations started in this window during this interval, allowing them to remain in sync with one another.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/mozAnimationStartTime
Property. [Read Only] [Non Standard] Returns the time, in milliseconds since the epoch, at which animations now should be considered to have started. This value should be instead of, for example, Date.now(), because this value will the same for all animations started in this window during this interval, allowing them to remain in sync with one another. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/mozAnimationStartTime`
(moz-inner-screen-x this)
Property.
[Read Only]
Gets the X coordinate of the top-left corner of the window's in screen coordinates.
screenX = window.mozInnerScreenX;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/mozInnerScreenX
Property. [Read Only] Gets the X coordinate of the top-left corner of the window's in screen coordinates. `screenX = window.mozInnerScreenX;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/mozInnerScreenX`
(moz-inner-screen-y this)
Property.
[Read Only]
Gets the Y coordinate of the top-left corner of the window's in screen coordinates.
screenY = window.mozInnerScreenY;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/mozInnerScreenY
Property. [Read Only] Gets the Y coordinate of the top-left corner of the window's in screen coordinates. `screenY = window.mozInnerScreenY;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/mozInnerScreenY`
(moz-paint-count this)
Property.
[Read Only]
Returns the number of times the current document has been painted the screen in this window.
`var paintCount = window.mozPaintCount;
paintCount stores the window.mozPaintCount property value. The window.mozPaintCount value is a long long, and starts at zero when the document is first created, incrementing by one each time the document is painted.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/mozPaintCount
Property. [Read Only] Returns the number of times the current document has been painted the screen in this window. `var paintCount = window.mozPaintCount; paintCount stores the window.mozPaintCount property value. The window.mozPaintCount value is a long long, and starts at zero when the document is first created, incrementing by one each time the document is painted.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/mozPaintCount`
(name this)
Property.
Gets/sets the name of the window.
string = window.name; window.name = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/name
Property. Gets/sets the name of the window. `string = window.name; window.name = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/name`
(navigator this)
Property.
[Read Only]
The Window.navigator read-only property returns a reference to
web.performance.Navigator
object, which can be queried for
about the application running the script.
navigatorObject = window.navigator
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator
Property. [Read Only] The Window.navigator read-only property returns a reference to `web.performance.Navigator` object, which can be queried for about the application running the script. `navigatorObject = window.navigator` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator`
(onabort this)
Property.
[Draft] [Experimental]
The onabort property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing abort events sent to the window.
window.onabort = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onabort
Property. [Draft] [Experimental] The onabort property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing abort events sent to the window. `window.onabort = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onabort`
(onafterprint this)
Property.
The onafterprint property of the web.dom.WindowEventHandlers
is the EventHandler
for processing afterprint events for the
window. These events are raised after the user prints, or if
abort the print dialog.
window.addEventListener(\"afterprint\", function(event) { ... }); window.onafterprint = function(event) { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onafterprint
Property. The onafterprint property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing afterprint events for the window. These events are raised after the user prints, or if abort the print dialog. `window.addEventListener(\"afterprint\", function(event) { ... }); window.onafterprint = function(event) { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onafterprint`
(onanimationcancel this)
Property.
The onanimationcancel property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing animationcancel events.
`var animCancelHandler = target.onanimationcancel;
target.onanimationcancel = Function`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationcancel
Property. The onanimationcancel property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing animationcancel events. `var animCancelHandler = target.onanimationcancel; target.onanimationcancel = Function` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationcancel`
(onanimationend this)
Property.
The onanimationend property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing animationend events.
`var animEndHandler = target.onanimationend;
target.onanimationend = Function`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationend
Property. The onanimationend property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing animationend events. `var animEndHandler = target.onanimationend; target.onanimationend = Function` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationend`
(onanimationiteration this)
Property.
[Draft]
The onanimationiteration property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing animationiteration events.
`var animIterationHandler = target.onanimationiteration;
target.onanimationiteration = Function`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationiteration
Property. [Draft] The onanimationiteration property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing animationiteration events. `var animIterationHandler = target.onanimationiteration; target.onanimationiteration = Function` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationiteration`
(onappinstalled this)
Property.
The onappinstalled attribute of the web.Window
object serves
an event handler for the appinstalled event, which is dispatched
the web application is successfully installed as a progressive
app. The event that is fired is a "simple event" that implements
web.event.Event
interface.
window.onappinstalled = function(event) { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled
Property. The onappinstalled attribute of the `web.Window` object serves an event handler for the appinstalled event, which is dispatched the web application is successfully installed as a progressive app. The event that is fired is a \"simple event\" that implements `web.event.Event` interface. `window.onappinstalled = function(event) { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled`
(onauxclick this)
Property.
[Experimental]
The onauxclick property of the web.dom.GlobalEventHandlers
is an EventHandler
for processing auxclick events.
target.onauxclick = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onauxclick
Property. [Experimental] The onauxclick property of the `web.dom.GlobalEventHandlers` is an `EventHandler` for processing auxclick events. `target.onauxclick = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onauxclick`
(onbeforeinstallprompt this)
Property.
The Window.onbeforeinstallprompt property is an event handler processing a beforeinstallprompt, which is dispatched on devices a user is about to be prompted to "install" a web application. associated event may be saved for later and used to prompt the at a more suitable time.
window.addEventListener(\"beforeinstallprompt\", function(event) { ... }); window.onbeforeinstallprompt = function(event) { ...};
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinstallprompt
Property. The Window.onbeforeinstallprompt property is an event handler processing a beforeinstallprompt, which is dispatched on devices a user is about to be prompted to \"install\" a web application. associated event may be saved for later and used to prompt the at a more suitable time. `window.addEventListener(\"beforeinstallprompt\", function(event) { ... }); window.onbeforeinstallprompt = function(event) { ...};` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinstallprompt`
(onbeforeprint this)
Property.
The onbeforeprint property of the web.dom.WindowEventHandlers
is the EventHandler
for processing beforeprint events for the
window. These events are raised before the print dialog window
opened.
window.addEventListener(\"beforeprint\", function(event) { ... }); window.onbeforeprint = function(event) { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint
Property. The onbeforeprint property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing beforeprint events for the window. These events are raised before the print dialog window opened. `window.addEventListener(\"beforeprint\", function(event) { ... }); window.onbeforeprint = function(event) { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint`
(onbeforeunload this)
Property.
The onbeforeunload property of the web.dom.WindowEventHandlers
is the EventHandler
for processing beforeunload events. These
fire when a window is about to unload its resources. At this
the document is still visible and the event is still cancelable.
`window.addEventListener("beforeunload", function(event) { ... }); window.onbeforeunload = function(event) { ... };
Typically, it is better to use window.addEventListener()
and the beforeunload event, instead of onbeforeunload.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload
Property. The onbeforeunload property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing beforeunload events. These fire when a window is about to unload its resources. At this the document is still visible and the event is still cancelable. `window.addEventListener(\"beforeunload\", function(event) { ... }); window.onbeforeunload = function(event) { ... }; Typically, it is better to use `window.addEventListener()` and the beforeunload event, instead of onbeforeunload.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload`
(onblur this)
Property.
The onblur property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing blur events. It's available
web.Element
, web.Document
, and web.Window
.
target.onblur = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onblur
Property. The onblur property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing blur events. It's available `web.Element`, `web.Document`, and `web.Window`. `target.onblur = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onblur`
(oncancel this)
Property.
The oncancel property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
for processing cancel events sent to a <dialog>
target.oncancel = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncancel
Property. The oncancel property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` for processing cancel events sent to a `<dialog>` `target.oncancel = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncancel`
(oncanplay this)
Property.
The oncanplay property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing canplay events.
`element.oncanplay = handlerFunction; var handlerFunction = element.oncanplay;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncanplay
Property. The oncanplay property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing canplay events. `element.oncanplay = handlerFunction; var handlerFunction = element.oncanplay; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncanplay`
(oncanplaythrough this)
Property.
The oncanplaythrough property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing canplaythrough events.
`element.oncanplaythrough = handlerFunction; var handlerFunction = element.oncanplaythrough;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncanplaythrough
Property. The oncanplaythrough property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing canplaythrough events. `element.oncanplaythrough = handlerFunction; var handlerFunction = element.oncanplaythrough; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncanplaythrough`
(onchange this)
Property.
The onchange property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
for processing change events.
`target.onchange = functionRef;
functionRef is a function name or a function expression. The function receives an web.event.Event
object as its sole argument.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onchange
Property. The onchange property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` for processing change events. `target.onchange = functionRef; functionRef is a function name or a function expression. The function receives an `web.event.Event` object as its sole argument.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onchange`
(onclick this)
Property.
The onclick property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing click events on a given element.
target.onclick = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onclick
Property. The onclick property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing click events on a given element. `target.onclick = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onclick`
(onclose this)
Property.
[Experimental]
The onclose property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
for processing close events sent to a <dialog>
target.onclose = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onclose
Property. [Experimental] The onclose property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` for processing close events sent to a `<dialog>` `target.onclose = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onclose`
(oncontextmenu this)
Property.
The oncontextmenu property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes contextmenu events.
target.oncontextmenu = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncontextmenu
Property. The oncontextmenu property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes contextmenu events. `target.oncontextmenu = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncontextmenu`
(oncuechange this)
Property.
The oncuechange property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing cuechange events.
`element.oncuechange = handlerFunction; var handlerFunction = element.oncuechange;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncuechange
Property. The oncuechange property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing cuechange events. `element.oncuechange = handlerFunction; var handlerFunction = element.oncuechange; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncuechange`
(ondblclick this)
Property.
The ondblclick property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes dblclick events on the given
target.ondblclick = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ondblclick
Property. The ondblclick property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes dblclick events on the given `target.ondblclick = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ondblclick`
(ondevicelight this)
Property.
Specifies an event listener to receive devicelight events. These occur when the device's light level sensor detects a change in intensity of the ambient light level.
`window.ondevicelight = funcRef
Where funcRef is a function to be called when the devicelight event occurs. These events are of type web.ambient.DeviceLightEvent
.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondevicelight
Property. Specifies an event listener to receive devicelight events. These occur when the device's light level sensor detects a change in intensity of the ambient light level. `window.ondevicelight = funcRef Where funcRef is a function to be called when the devicelight event occurs. These events are of type `web.ambient.DeviceLightEvent`.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondevicelight`
(ondevicemotion this)
Property.
An event handler for the devicemotion events sent to the window.
`window.ondevicemotion = funcRef;
Where funcRef is a reference to a function. This function receives a web.mobile.DeviceMotionEvent
object describing the motion that occurred.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondevicemotion
Property. An event handler for the devicemotion events sent to the window. `window.ondevicemotion = funcRef; Where funcRef is a reference to a function. This function receives a `web.mobile.DeviceMotionEvent` object describing the motion that occurred.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondevicemotion`
(ondeviceorientation this)
Property.
An event handler for the deviceorientation event, which contains about a relative device orientation change.
window.ondeviceorientation = function(event) { ... }; window.addEventListener('deviceorientation', function(event) { ... });
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceorientation
Property. An event handler for the deviceorientation event, which contains about a relative device orientation change. `window.ondeviceorientation = function(event) { ... }; window.addEventListener('deviceorientation', function(event) { ... });` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceorientation`
(ondeviceorientationabsolute this)
Property.
[Non Standard]
An event handler for the deviceorientationabsolute event containing about an absolute device orientation change.
window.ondeviceorientationabsolute = function(event) { ... }; window.addEventListener('deviceorientationabsolute', function(event) { ... });
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceorientationabsolute
Property. [Non Standard] An event handler for the deviceorientationabsolute event containing about an absolute device orientation change. `window.ondeviceorientationabsolute = function(event) { ... }; window.addEventListener('deviceorientationabsolute', function(event) { ... });` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceorientationabsolute`
(ondeviceproximity this)
Property.
The ondeviceproximity property of the web.Window
interface
an EventHandler
to receive deviceproximity events. These events
when the device sensor detects that an object becomes closer
or farther from the device.
`window.onuserproximity = funcRef
Where funcRef is a function to be called when the deviceproximity event occurs. These events are of type web.divice.DeviceProximityEvent
.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceproximity
Property. The ondeviceproximity property of the `web.Window` interface an `EventHandler` to receive deviceproximity events. These events when the device sensor detects that an object becomes closer or farther from the device. `window.onuserproximity = funcRef Where funcRef is a function to be called when the deviceproximity event occurs. These events are of type `web.divice.DeviceProximityEvent`.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceproximity`
(ondragdrop this)
Property.
[Non Standard] [Obsolute]
An event handler for drag and drop events sent to the window.
`window.ondragdrop = funcRef; window.addEventListener("dragdrop", funcRef, useCapturing);
funcRef The event handler function to be registered.
The window.ondragdrop property and the ondragdrop attribute are not implemented in Gecko (bug 112288), you have to use addEventListener. See addEventListener for details.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragdrop
Property. [Non Standard] [Obsolute] An event handler for drag and drop events sent to the window. `window.ondragdrop = funcRef; window.addEventListener(\"dragdrop\", funcRef, useCapturing); funcRef The event handler function to be registered. The window.ondragdrop property and the ondragdrop attribute are not implemented in Gecko (bug 112288), you have to use addEventListener. See addEventListener for details.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragdrop`
(ondurationchange this)
Property.
The ondurationchange property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing durationchange events.
`element.ondurationchange = handlerFunction; var handlerFunction = element.ondurationchange;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ondurationchange
Property. The ondurationchange property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing durationchange events. `element.ondurationchange = handlerFunction; var handlerFunction = element.ondurationchange; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ondurationchange`
(onended this)
Property.
The onended property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing ended events.
`element.onended = handlerFunction; var handlerFunction = element.onended;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onended
Property. The onended property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing ended events. `element.onended = handlerFunction; var handlerFunction = element.onended; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onended`
(onerror this)
Property.
The onerror property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes error events.
For historical reasons, different arguments are passed to window.onerror and element.onerror handlers (as well as on error-type
window.addEventListenerhandlers).
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
Property. The onerror property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes error events. `For historical reasons, different arguments are passed to window.onerror and element.onerror handlers (as well as on error-type `window.addEventListener` handlers).` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror`
(onfocus this)
Property.
The onfocus property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes focus events on the given element.
target.onfocus = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onfocus
Property. The onfocus property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes focus events on the given element. `target.onfocus = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onfocus`
(ongamepadconnected this)
Property.
[Experimental]
The ongamepadconnected property of the web.Window
interface
an event handler that will run when a gamepad is connected (when
gamepadconnected event fires).
window.ongamepadconnected = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepadconnected
Property. [Experimental] The ongamepadconnected property of the `web.Window` interface an event handler that will run when a gamepad is connected (when gamepadconnected event fires). `window.ongamepadconnected = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepadconnected`
(ongamepaddisconnected this)
Property.
[Experimental]
The ongamepaddisconnected property of the web.Window
interface
an event handler that will run when a gamepad is disconnected
the gamepaddisconnected event fires).
window.ongamepaddisconnected = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepaddisconnected
Property. [Experimental] The ongamepaddisconnected property of the `web.Window` interface an event handler that will run when a gamepad is disconnected the gamepaddisconnected event fires). `window.ongamepaddisconnected = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepaddisconnected`
(ongotpointercapture this)
Property.
The ongotpointercapture property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes gotpointercapture events.
target.ongotpointercapture = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ongotpointercapture
Property. The ongotpointercapture property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes gotpointercapture events. `target.ongotpointercapture = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ongotpointercapture`
(onhashchange this)
Property.
The WindowEventHandlers.onhashchange property of the web.dom.WindowEventHandlers
is the EventHandler
for processing hashchange events.
`Using an event handler:
window.onhashchange = funcRef;
Using an HTML event handler:
<body onhashchange=\"funcRef();\">
Using an event listener:
To add an event listener, use addEventListener()
:
window.addEventListener("hashchange", funcRef, false);`
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange
Property. The WindowEventHandlers.onhashchange property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing hashchange events. `Using an event handler: window.onhashchange = funcRef; Using an HTML event handler: <body onhashchange=\"funcRef();\"> Using an event listener: To add an event listener, use `addEventListener()`: window.addEventListener(\"hashchange\", funcRef, false);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange`
(oninput this)
Property.
The oninput property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes input events on the <input>
,
and <textarea>
elements. It also handles these events on elements
contenteditable
or designMode
are turned on.
target.oninput = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oninput
Property. The oninput property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes input events on the `<input>`, and `<textarea>` elements. It also handles these events on elements `contenteditable` or `designMode` are turned on. `target.oninput = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oninput`
(oninvalid this)
Property.
The oninvalid property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes invalid events.
target.oninvalid = functionRef; var functionRef = target.oninvalid;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oninvalid
Property. The oninvalid property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes invalid events. `target.oninvalid = functionRef; var functionRef = target.oninvalid;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oninvalid`
(onkeydown this)
Property.
The onkeydown property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes keydown events.
target.onkeydown = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeydown
Property. The onkeydown property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes keydown events. `target.onkeydown = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeydown`
(onkeypress this)
Property.
[Deprecated]
The onkeypress property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes keypress events.
target.onkeypress = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeypress
Property. [Deprecated] The onkeypress property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes keypress events. `target.onkeypress = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeypress`
(onkeyup this)
Property.
The onkeyup property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes keyup events.
target.onkeyup = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeyup
Property. The onkeyup property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes keyup events. `target.onkeyup = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeyup`
(onlanguagechange this)
Property.
[Experimental]
The onlanguagechange property of the web.dom.WindowEventHandlers
is the EventHandler
for processing languagechange events.
object.onlanguagechange = function;
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onlanguagechange
Property. [Experimental] The onlanguagechange property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing languagechange events. `object.onlanguagechange = function;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onlanguagechange`
(onload this)
Property.
The onload property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes load events on a web.Window
,
<img>
element, etc.
target.onload = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
Property. The onload property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes load events on a `web.Window`, `<img>` element, etc. `target.onload = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload`
(onloadeddata this)
Property.
The onloadeddata property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing loadeddata events.
`element.onloadeddata = handlerFunction; var handlerFunction = element.onloadeddata;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadeddata
Property. The onloadeddata property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing loadeddata events. `element.onloadeddata = handlerFunction; var handlerFunction = element.onloadeddata; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadeddata`
(onloadedmetadata this)
Property.
The onloadedmetadata property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing loadedmetadata events.
`element.onloadedmetadata = handlerFunction; var handlerFunction = element.onloadedmetadata;
handlerFunction should be either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadedmetadata
Property. The onloadedmetadata property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing loadedmetadata events. `element.onloadedmetadata = handlerFunction; var handlerFunction = element.onloadedmetadata; handlerFunction should be either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadedmetadata`
(onloadend this)
Property.
The onloadend property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
representing the code to be called when the
event is raised (when progress has stopped on the loading of
resource.)
img.onloadend = funcRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadend
Property. The onloadend property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` representing the code to be called when the event is raised (when progress has stopped on the loading of resource.) `img.onloadend = funcRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadend`
(onloadstart this)
Property.
The onloadstart property of the web.dom.GlobalEventHandlers
is an EventHandler
representing the code to be called when
loadstart event is raised (when progress has begun on the loading
a resource.)
img.onloadstart = funcRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadstart
Property. The onloadstart property of the `web.dom.GlobalEventHandlers` is an `EventHandler` representing the code to be called when loadstart event is raised (when progress has begun on the loading a resource.) `img.onloadstart = funcRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadstart`
(onlostpointercapture this)
Property.
The onlostpointercapture property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes lostpointercapture events.
target.onlostpointercapture = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onlostpointercapture
Property. The onlostpointercapture property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes lostpointercapture events. `target.onlostpointercapture = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onlostpointercapture`
(onmessage this)
Property.
[Experimental]
The onmessage property of the web.dom.WindowEventHandlers
mixin
the EventHandler
called whenever an object receives a message
window.addEventListener('message', function(event) { ... }) window.onmessage = function(event) { ... }
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessage
Property. [Experimental] The onmessage property of the `web.dom.WindowEventHandlers` mixin the `EventHandler` called whenever an object receives a message `window.addEventListener('message', function(event) { ... }) window.onmessage = function(event) { ... }` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessage`
(onmessageerror this)
Property.
The onmessageerror event handler of the web.dom.WindowEventHandlers
is an web.EventListener
, called whenever an web.workers.MessageEvent
type messageerror is fired on a window—that is, when it receives
message that cannot be deserialized.
window.onmessageerror = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessageerror
Property. The onmessageerror event handler of the `web.dom.WindowEventHandlers` is an `web.EventListener`, called whenever an `web.workers.MessageEvent` type messageerror is fired on a window—that is, when it receives message that cannot be deserialized. `window.onmessageerror = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessageerror`
(onmousedown this)
Property.
The onmousedown property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes mousedown events.
target.onmousedown = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmousedown
Property. The onmousedown property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes mousedown events. `target.onmousedown = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmousedown`
(onmouseenter this)
Property.
The onmouseenter property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing mouseenter events.
`element.onmouseenter = handlerFunction; var handlerFunction = element.onmouseenter;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseenter
Property. The onmouseenter property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing mouseenter events. `element.onmouseenter = handlerFunction; var handlerFunction = element.onmouseenter; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseenter`
(onmouseleave this)
Property.
The onmouseleave property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing mouseleave events.
`element.onmouseleave = handlerFunction; var handlerFunction = element.onmouseleave;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseleave
Property. The onmouseleave property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing mouseleave events. `element.onmouseleave = handlerFunction; var handlerFunction = element.onmouseleave; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseleave`
(onmousemove this)
Property.
The onmousemove property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes mousemove events.
target.onmousemove = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmousemove
Property. The onmousemove property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes mousemove events. `target.onmousemove = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmousemove`
(onmouseout this)
Property.
The onmouseout property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes mouseout events.
element.onmouseout = function;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseout
Property. The onmouseout property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes mouseout events. `element.onmouseout = function;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseout`
(onmouseover this)
Property.
The onmouseover property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes mouseover events.
element.onmouseover = function;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseover
Property. The onmouseover property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes mouseover events. `element.onmouseover = function;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseover`
(onmouseup this)
Property.
The onmouseup property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes mouseup events.
target.onmouseup = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseup
Property. The onmouseup property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes mouseup events. `target.onmouseup = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseup`
(onmozbeforepaint this)
Property.
[Non Standard] [Obsolute]
An event handler for the MozBeforePaint event. This is used in
with the window.mozRequestAnimationFrame()
method to perform
synchronized animations from JavaScript code.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onmozbeforepaint
Property. [Non Standard] [Obsolute] An event handler for the MozBeforePaint event. This is used in with the `window.mozRequestAnimationFrame()` method to perform synchronized animations from JavaScript code. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onmozbeforepaint`
(onpaint this)
Property.
[Non Standard]
Window.onpaint is an event handler for the paint event on the
`window.onpaint = funcRef;
funcRef is a handler function.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onpaint
Property. [Non Standard] Window.onpaint is an event handler for the paint event on the `window.onpaint = funcRef; funcRef is a handler function.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onpaint`
(onpause this)
Property.
The onpause property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing pause events.
`element.onpause = handlerFunction; var handlerFunction = element.onpause;
handlerFunction should be either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpause
Property. The onpause property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing pause events. `element.onpause = handlerFunction; var handlerFunction = element.onpause; handlerFunction should be either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpause`
(onplay this)
Property.
The onplay property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing play events.
`element.onplay = handlerFunction; var handlerFunction = element.onplay;
handlerFunction should be either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onplay
Property. The onplay property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing play events. `element.onplay = handlerFunction; var handlerFunction = element.onplay; handlerFunction should be either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onplay`
(onpointercancel this)
Property.
The onpointercancel property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointercancel events.
`targetElement.onpointercancel = cancelHandler;
var cancelHandler = targetElement.onpointercancel;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointercancel
Property. The onpointercancel property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointercancel events. `targetElement.onpointercancel = cancelHandler; var cancelHandler = targetElement.onpointercancel;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointercancel`
(onpointerdown this)
Property.
The web.dom.GlobalEventHandlers
event handler onpointerdown
used to specify the event handler for the pointerdown event,
is fired when the pointing device is initially pressed. This
can be sent to web.Window
, web.Document
, and web.Element
`target.onpointerdown = downHandler;
var downHandler = target.onpointerdown;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerdown
Property. The `web.dom.GlobalEventHandlers` event handler onpointerdown used to specify the event handler for the pointerdown event, is fired when the pointing device is initially pressed. This can be sent to `web.Window`, `web.Document`, and `web.Element` `target.onpointerdown = downHandler; var downHandler = target.onpointerdown;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerdown`
(onpointerenter this)
Property.
The onpointerenter property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointerenter events.
`targetElement.onpointerenter = enterHandler;
var enterHandler = targetElement.onpointerenter;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerenter
Property. The onpointerenter property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointerenter events. `targetElement.onpointerenter = enterHandler; var enterHandler = targetElement.onpointerenter;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerenter`
(onpointerleave this)
Property.
The global event handler for the pointerleave event, which is
to a web.Node
when the pointer (mouse cursor, fingertip, etc.)
its hit test area (for example, if the cursor exits an web.Element
web.Window
's content area). This event is part of the Pointer
API.
`EventTarget.onpointerleave = leaveHandler;
var leaveHandler = EventTarget.onpointerleave;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerleave
Property. The global event handler for the pointerleave event, which is to a `web.Node` when the pointer (mouse cursor, fingertip, etc.) its hit test area (for example, if the cursor exits an `web.Element` `web.Window`'s content area). This event is part of the Pointer API. `EventTarget.onpointerleave = leaveHandler; var leaveHandler = EventTarget.onpointerleave;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerleave`
(onpointermove this)
Property.
The onpointermove property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointermove events.
`targetElement.onpointermove = moveHandler;
var moveHandler = targetElement.onpointermove;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointermove
Property. The onpointermove property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointermove events. `targetElement.onpointermove = moveHandler; var moveHandler = targetElement.onpointermove;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointermove`
(onpointerout this)
Property.
The onpointerout property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointerout events.
`targetElement.onpointerout = outHandler;
var outHandler = targetElement.onpointerout;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerout
Property. The onpointerout property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointerout events. `targetElement.onpointerout = outHandler; var outHandler = targetElement.onpointerout;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerout`
(onpointerover this)
Property.
The onpointerover property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointerover events.
`targetElement.onpointerover = overHandler;
var overHandler = targetElement.onpointerover;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerover
Property. The onpointerover property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointerover events. `targetElement.onpointerover = overHandler; var overHandler = targetElement.onpointerover;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerover`
(onpointerup this)
Property.
The onpointerup property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointerup events.
`targetElement.onpointerup = upHandler;
var upHandler = targetElement.onpointerup;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerup
Property. The onpointerup property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointerup events. `targetElement.onpointerup = upHandler; var upHandler = targetElement.onpointerup;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerup`
(onpopstate this)
Property.
The onpopstate property of the web.dom.WindowEventHandlers
is the EventHandler
for processing popstate events on the window.
`window.onpopstate = funcRef;
funcRef is a handler function.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate
Property. The onpopstate property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing popstate events on the window. `window.onpopstate = funcRef; funcRef is a handler function.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate`
(onrejectionhandled this)
Property.
The onrejectionhandled property of the web.dom.WindowEventHandlers
is the EventHandler
for processing rejectionhandled events.
events are raised when js.Promise
s are rejected.
window.addEventListener(\"rejectionhandled\", function(event) { ... }); window.onrejectionhandled = function(event) { ...};
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onrejectionhandled
Property. The onrejectionhandled property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing rejectionhandled events. events are raised when `js.Promise`s are rejected. `window.addEventListener(\"rejectionhandled\", function(event) { ... }); window.onrejectionhandled = function(event) { ...};` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onrejectionhandled`
(onreset this)
Property.
The onreset property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes reset events.
target.onreset = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onreset
Property. The onreset property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes reset events. `target.onreset = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onreset`
(onresize this)
Property.
The onresize property of the web.dom.GlobalEventHandlers
interface
an EventHandler
that processes resize events.
window.onresize = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onresize
Property. The onresize property of the `web.dom.GlobalEventHandlers` interface an `EventHandler` that processes resize events. `window.onresize = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onresize`
(onscroll this)
Property.
The onscroll property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes scroll events.
target.onscroll = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onscroll
Property. The onscroll property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes scroll events. `target.onscroll = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onscroll`
(onselect this)
Property.
The onselect property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes select
.
target.onselect = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselect
Property. The onselect property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes `select`. `target.onselect = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselect`
(onselectionchange this)
Property.
[Experimental]
The onselectionchange property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes selectionchange events.
object.onselectionchange = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselectionchange
Property. [Experimental] The onselectionchange property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes selectionchange events. `object.onselectionchange = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselectionchange`
(onselectstart this)
Property.
[Experimental]
The onselectstart property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes selectstart events.
object.onselectstart = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselectstart
Property. [Experimental] The onselectstart property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes selectstart events. `object.onselectstart = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselectstart`
(onstorage this)
Property.
The onstorage property of the web.dom.WindowEventHandlers
mixin
an EventHandler
for processing storage events.
window.onstorage = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onstorage
Property. The onstorage property of the `web.dom.WindowEventHandlers` mixin an `EventHandler` for processing storage events. `window.onstorage = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onstorage`
(onsubmit this)
Property.
The onsubmit property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes submit events.
target.onsubmit = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onsubmit
Property. The onsubmit property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes submit events. `target.onsubmit = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onsubmit`
(ontouchcancel this)
Property.
[Experimental]
The ontouchcancel property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes touchcancel events.
var cancelHandler = someElement.ontouchcancel;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontouchcancel
Property. [Experimental] The ontouchcancel property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes touchcancel events. `var cancelHandler = someElement.ontouchcancel;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontouchcancel`
(ontouchstart this)
Property.
[Experimental]
The ontouchstart property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes touchstart events.
var startHandler = someElement.ontouchstart;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontouchstart
Property. [Experimental] The ontouchstart property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes touchstart events. `var startHandler = someElement.ontouchstart;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontouchstart`
(ontransitioncancel this)
Property.
The ontransitioncancel property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes transitioncancel events.
`var transitionCancelHandler = target.ontransitioncancel;
target.ontransitioncancel = Function`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontransitioncancel
Property. The ontransitioncancel property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes transitioncancel events. `var transitionCancelHandler = target.ontransitioncancel; target.ontransitioncancel = Function` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontransitioncancel`
(ontransitionend this)
Property.
The ontransitionend property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes transitionend events.
`var transitionEndHandler = target.ontransitionend;
target.ontransitionend = Function`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontransitionend
Property. The ontransitionend property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes transitionend events. `var transitionEndHandler = target.ontransitionend; target.ontransitionend = Function` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontransitionend`
(onunhandledrejection this)
Property.
The onunhandledrejection property of the web.dom.WindowEventHandlers
is the EventHandler
for processing unhandledrejection events.
events are raised for unhandled js.Promise
rejections.
window.onunhandledrejection = function;
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunhandledrejection
Property. The onunhandledrejection property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing unhandledrejection events. events are raised for unhandled `js.Promise` rejections. `window.onunhandledrejection = function;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunhandledrejection`
(onunload this)
Property.
The onunload property of the web.dom.WindowEventHandlers
mixin
the EventHandler
for processing unload events. These events
when the window is unloading its content and resources. The resource
is processed after the unload event occurs.
`window.addEventListener("unload", function(event) { ... }); window.onunload = function(event) { ... };
Typically, it is better to use window.addEventListener()
and the unload event, instead of onunload.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunload
Property. The onunload property of the `web.dom.WindowEventHandlers` mixin the `EventHandler` for processing unload events. These events when the window is unloading its content and resources. The resource is processed after the unload event occurs. `window.addEventListener(\"unload\", function(event) { ... }); window.onunload = function(event) { ... }; Typically, it is better to use `window.addEventListener()` and the unload event, instead of onunload.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunload`
(onuserproximity this)
Property.
The Window.onuserproxymity property represents an EventHandler
,
is a function to be called when the userproximity event occurs.
events are of type web.other.UserProximityEvent
and occur when
the device sensor detects that an object becomes nearby.
window.onuserproximity = eventHandler
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onuserproximity
Property. The Window.onuserproxymity property represents an `EventHandler`, is a function to be called when the userproximity event occurs. events are of type `web.other.UserProximityEvent` and occur when the device sensor detects that an object becomes nearby. `window.onuserproximity = eventHandler` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onuserproximity`
(onvrdisplayactivate this)
Property.
[Experimental]
The onvrdisplayactivate property of the web.Window
interface
an event handler that will run when a display is able to be presented
(when the vrdisplayactivate event fires), for example if an HMD
been moved to bring it out of standby, or woken up by being put
window.onvrdisplayactivate = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate
Property. [Experimental] The onvrdisplayactivate property of the `web.Window` interface an event handler that will run when a display is able to be presented (when the vrdisplayactivate event fires), for example if an HMD been moved to bring it out of standby, or woken up by being put `window.onvrdisplayactivate = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate`
(onvrdisplayblur this)
Property.
[Experimental]
The onvrdisplayblur property of the web.Window
interface represents
event handler that will run when presentation to a display has
paused for some reason by the browser, OS, or VR hardware (when
vrdisplayblur event fires) — for example, while the user is interacting
a system menu or browser, to prevent tracking or loss of experience.
window.onvrdisplayblur = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayblur
Property. [Experimental] The onvrdisplayblur property of the `web.Window` interface represents event handler that will run when presentation to a display has paused for some reason by the browser, OS, or VR hardware (when vrdisplayblur event fires) — for example, while the user is interacting a system menu or browser, to prevent tracking or loss of experience. `window.onvrdisplayblur = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayblur`
(onvrdisplayconnect this)
Property.
[Experimental]
The onvrdisplayconnect property of the web.Window
interface
an event handler that will run when a compatible VR display has
connected to the computer (when the vrdisplayconnect event fires).
window.onvrdisplayconnect = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect
Property. [Experimental] The onvrdisplayconnect property of the `web.Window` interface an event handler that will run when a compatible VR display has connected to the computer (when the vrdisplayconnect event fires). `window.onvrdisplayconnect = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect`
(onvrdisplaydeactivate this)
Property.
[Experimental]
The onvrdisplaydeactivate property of the web.Window
interface
an event handler that will run when a display can no longer be
to (when the vrdisplaydeactivate event fires), for example if
HMD has gone into standby or sleep mode due to a period of inactivity.
window.onvrdisplaydeactivate = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate
Property. [Experimental] The onvrdisplaydeactivate property of the `web.Window` interface an event handler that will run when a display can no longer be to (when the vrdisplaydeactivate event fires), for example if HMD has gone into standby or sleep mode due to a period of inactivity. `window.onvrdisplaydeactivate = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate`
(onvrdisplaydisconnect this)
Property.
[Experimental]
The onvrdisplaydisconnect event handler property of the web.Window
is called when a compatible VR display has been disconnected
the computer (when the vrdisplaydisconnect event fires).
window.onvrdisplaydisconnect = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect
Property. [Experimental] The onvrdisplaydisconnect event handler property of the `web.Window` is called when a compatible VR display has been disconnected the computer (when the vrdisplaydisconnect event fires). `window.onvrdisplaydisconnect = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect`
(onvrdisplayfocus this)
Property.
[Experimental]
The onvrdisplayfocus property of the web.Window
interface represents
event handler that will run when presentation to a display has
after being blurred (when the vrdisplayfocus event fires).
window.onvrdisplayfocus = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayfocus
Property. [Experimental] The onvrdisplayfocus property of the `web.Window` interface represents event handler that will run when presentation to a display has after being blurred (when the vrdisplayfocus event fires). `window.onvrdisplayfocus = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayfocus`
(onvrdisplaypointerrestricted this)
Property.
[Experimental]
The onvrdisplaypointerrestricted property of the web.Window
represents an event handler that will run when the VR display's
input is restricted to consumption via a pointerlocked element.
window.onvrdisplaypointerrestricted = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypointerrestricted
Property. [Experimental] The onvrdisplaypointerrestricted property of the `web.Window` represents an event handler that will run when the VR display's input is restricted to consumption via a pointerlocked element. `window.onvrdisplaypointerrestricted = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypointerrestricted`
(onvrdisplaypointerunrestricted this)
Property.
[Experimental]
The onvrdisplaypointerunrestricted property of the web.Window
represents an event handler that will run when the VR display's
input is no longer restricted to consumption via a pointerlocked
window.onvrdisplaypointerunrestricted = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypointerunrestricted
Property. [Experimental] The onvrdisplaypointerunrestricted property of the `web.Window` represents an event handler that will run when the VR display's input is no longer restricted to consumption via a pointerlocked `window.onvrdisplaypointerunrestricted = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypointerunrestricted`
(onvrdisplaypresentchange this)
Property.
[Experimental]
The onvrdisplaypresentchange property of the web.Window
interface
an event handler that will run when the presenting state of a
display changes — i.e. goes from presenting to not presenting,
vice versa (when the vrdisplaypresentchange event fires).
window.onvrdisplaypresentchange = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange
Property. [Experimental] The onvrdisplaypresentchange property of the `web.Window` interface an event handler that will run when the presenting state of a display changes — i.e. goes from presenting to not presenting, vice versa (when the vrdisplaypresentchange event fires). `window.onvrdisplaypresentchange = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange`
(onwheel this)
Property.
The onwheel property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes wheel events.
target.onwheel = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onwheel
Property. The onwheel property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes wheel events. `target.onwheel = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onwheel`
(open this & args)
Method.
The web.Window
interface's open() method loads the specified
into the browsing context (window, <iframe>
or tab) with the
name. If the name doesn't exist, then a new window is opened
the specified resource is loaded into its browsing context.
var window = window.open(url, windowName, [windowFeatures]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/open
Method. The `web.Window` interface's open() method loads the specified into the browsing context (window, `<iframe>` or tab) with the name. If the name doesn't exist, then a new window is opened the specified resource is loaded into its browsing context. `var window = window.open(url, windowName, [windowFeatures]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/open`
(open-dialog this & args)
Method.
[Non Standard]
window.openDialog() is an extension to window.open()
. It behaves
same, except that it can optionally take one or more parameters
windowFeatures, and windowFeatures itself is treated a little
`newWindow = openDialog(url, name, features, arg1, arg2, ...)
newWindow
The opened window
url
The URL to be loaded in the newly opened window.
name
The window name (optional). See window.open()
description for detailed information.
features
See window.open()
for details.
arg1, arg2, ...
The arguments to be passed to the new window (optional).`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/openDialog
Method. [Non Standard] window.openDialog() is an extension to `window.open()`. It behaves same, except that it can optionally take one or more parameters windowFeatures, and windowFeatures itself is treated a little `newWindow = openDialog(url, name, features, arg1, arg2, ...) newWindow The opened window url The URL to be loaded in the newly opened window. name The window name (optional). See `window.open()` description for detailed information. features See `window.open()` for details. arg1, arg2, ... The arguments to be passed to the new window (optional).` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/openDialog`
(opener this)
Property.
The web.Window
interface's opener property returns a reference
the window that opened the window using open()
.
openerWindow = window.opener;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/opener
Property. The `web.Window` interface's opener property returns a reference the window that opened the window using `open()`. `openerWindow = window.opener;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/opener`
(orientation this)
Property.
[Read Only] [Deprecated]
Returns the orientation in degrees (in 90-degree increments) the viewport relative to the device's natural orientation.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/orientation
Property. [Read Only] [Deprecated] Returns the orientation in degrees (in 90-degree increments) the viewport relative to the device's natural orientation. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/orientation`
(origin this)
Property.
[Read Only] [Experimental]
The origin read-only property of the web.WindowOrWorkerGlobalScope
returns the origin of the global scope, serialized as a string.
var myOrigin = self.origin; // or just origin
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/origin
Property. [Read Only] [Experimental] The origin read-only property of the `web.WindowOrWorkerGlobalScope` returns the origin of the global scope, serialized as a string. `var myOrigin = self.origin; // or just origin` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/origin`
(outer-height this)
Property.
[Read Only]
The Window.outerHeight read-only property returns the height pixels of the whole browser window, including any sidebar, window and window-resizing borders/handles.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight
Property. [Read Only] The Window.outerHeight read-only property returns the height pixels of the whole browser window, including any sidebar, window and window-resizing borders/handles. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight`
(outer-width this)
Property.
[Read Only]
Window.outerWidth read-only property returns the width of the of the browser window. It represents the width of the whole browser including sidebar (if expanded), window chrome and window resizing
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth
Property. [Read Only] Window.outerWidth read-only property returns the width of the of the browser window. It represents the width of the whole browser including sidebar (if expanded), window chrome and window resizing See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth`
(page-x-offset this)
Property.
[Read Only]
The read-only web.Window
property pageXOffset is an alias for
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/pageXOffset
Property. [Read Only] The read-only `web.Window` property pageXOffset is an alias for See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/pageXOffset`
(page-y-offset this)
Property.
[Read Only]
The read-only web.Window
property pageYOffset is an alias for
as such, it returns the number of pixels the document is currently
along the vertical axis (that is, up or down) with a value of
indicating that the top edge of the web.Document
is currently
with the top edge of the window's content area.
yOffset = window.pageYOffset;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/pageYOffset
Property. [Read Only] The read-only `web.Window` property pageYOffset is an alias for as such, it returns the number of pixels the document is currently along the vertical axis (that is, up or down) with a value of indicating that the top edge of the `web.Document` is currently with the top edge of the window's content area. `yOffset = window.pageYOffset;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/pageYOffset`
(parent this)
Property.
[Read Only]
The Window.parent property is a reference to the parent of the window or subframe.
var parentWindow = window.parent;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/parent
Property. [Read Only] The Window.parent property is a reference to the parent of the window or subframe. `var parentWindow = window.parent;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/parent`
(performance this)
Property.
[Read Only]
The web.Window
interface's performance property returns a web.performance.Performance
which can be used to gather performance information about the
document. It serves as the point of exposure for the Performance
API, the High Resolution Time API, the Navigation Timing API,
User Timing API, and the Resource Timing API.
performanceData = window.performance;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/performance
Property. [Read Only] The `web.Window` interface's performance property returns a `web.performance.Performance` which can be used to gather performance information about the document. It serves as the point of exposure for the Performance API, the High Resolution Time API, the Navigation Timing API, User Timing API, and the Resource Timing API. `performanceData = window.performance;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/performance`
(personalbar this)
Property.
[Read Only]
Returns the personalbar object, whose visibility can be toggled the window.
objRef =window.personalbar
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/personalbar
Property. [Read Only] Returns the personalbar object, whose visibility can be toggled the window. `objRef =window.personalbar` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/personalbar`
(pkcs11 this)
Property.
[Obsolute]
Returns the pkcs11 object, which is used to install drivers and software associated with the pkcs11 protocol. If pkcs11 isn't this property returns null.
objRef = window.pkcs11
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/pkcs11
Property. [Obsolute] Returns the pkcs11 object, which is used to install drivers and software associated with the pkcs11 protocol. If pkcs11 isn't this property returns null. `objRef = window.pkcs11` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/pkcs11`
(post-message this & args)
Method.
The window.postMessage() method safely enables cross-origin communication
web.Window
objects; e.g., between a page and a pop-up that
spawned, or between a page and an iframe embedded within it.
`targetWindow.postMessage(message, targetOrigin, [transfer]);
targetWindow A reference to the window that will receive the message. Methods for obtaining such a reference include:
window.open
(to spawn a new window and then reference it),
window.opener
(to reference the window that spawned this one),
HTMLIFrameElement.contentWindow
(to reference an embedded <iframe>
from its parent window),
window.parent
(to reference the parent window from within an embedded <iframe>
), or
window.frames
an index value (named or numeric).
message
Data to be sent to the other window. The data is serialized using the structured clone algorithm. This means you can pass a broad variety of data objects safely to the destination window without having to serialize them yourself. [1]
targetOrigin
Specifies what the origin of targetWindow must be for the event to be dispatched, either as the literal string "*" (indicating no preference) or as a URI. If at the time the event is scheduled to be dispatched the scheme, hostname, or port of targetWindow's document does not match that provided in targetOrigin, the event will not be dispatched; only if all three match will the event be dispatched. This mechanism provides control over where messages are sent; for example, if postMessage() was used to transmit a password, it would be absolutely critical that this argument be a URI whose origin is the same as the intended receiver of the message containing the password, to prevent interception of the password by a malicious third party. Always provide a specific targetOrigin, not *, if you know where the other window's document should be located. Failing to provide a specific target discloses the data you send to any interested malicious site.
transfer Optional
Is a sequence of web.workers.Transferable
objects that are transferred with the message. The ownership of these objects is given to the destination side and they are no longer usable on the sending side.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
Method. The window.postMessage() method safely enables cross-origin communication `web.Window` objects; e.g., between a page and a pop-up that spawned, or between a page and an iframe embedded within it. `targetWindow.postMessage(message, targetOrigin, [transfer]); targetWindow A reference to the window that will receive the message. Methods for obtaining such a reference include: `window.open` (to spawn a new window and then reference it), `window.opener` (to reference the window that spawned this one), `HTMLIFrameElement.contentWindow` (to reference an embedded `<iframe>` from its parent window), `window.parent` (to reference the parent window from within an embedded `<iframe>`), or `window.frames` an index value (named or numeric). message Data to be sent to the other window. The data is serialized using the structured clone algorithm. This means you can pass a broad variety of data objects safely to the destination window without having to serialize them yourself. [1] targetOrigin Specifies what the origin of targetWindow must be for the event to be dispatched, either as the literal string \"*\" (indicating no preference) or as a URI. If at the time the event is scheduled to be dispatched the scheme, hostname, or port of targetWindow's document does not match that provided in targetOrigin, the event will not be dispatched; only if all three match will the event be dispatched. This mechanism provides control over where messages are sent; for example, if postMessage() was used to transmit a password, it would be absolutely critical that this argument be a URI whose origin is the same as the intended receiver of the message containing the password, to prevent interception of the password by a malicious third party. Always provide a specific targetOrigin, not *, if you know where the other window's document should be located. Failing to provide a specific target discloses the data you send to any interested malicious site. transfer Optional Is a sequence of `web.workers.Transferable` objects that are transferred with the message. The ownership of these objects is given to the destination side and they are no longer usable on the sending side.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage`
(print this)
Method.
Opens the Print Dialog to print the current document.
window.print()
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/print
Method. Opens the Print Dialog to print the current document. `window.print()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/print`
(prompt this message default)
Method.
The Window.prompt() displays a dialog with an optional message the user to input some text.
result = window.prompt(message, default);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt
Method. The Window.prompt() displays a dialog with an optional message the user to input some text. `result = window.prompt(message, default);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt`
(queue-microtask this function)
Method.
The queueMicrotask() method of the web.WindowOrWorkerGlobalScope
queues a microtask.
scope.queueMicrotask(function);
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/queueMicrotask
Method. The queueMicrotask() method of the `web.WindowOrWorkerGlobalScope` queues a microtask. `scope.queueMicrotask(function);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/queueMicrotask`
(release-events this & args)
Method.
[Deprecated] [Non Standard]
Releases the window from trapping events of a specific type.
`window.releaseEvents(eventType)
eventType is a combination of the following values: Event.ABORT, Event.BLUR, Event.CLICK, Event.CHANGE, Event.DBLCLICK, Event.DRAGDDROP, Event.ERROR, Event.FOCUS, Event.KEYDOWN, Event.KEYPRESS, Event.KEYUP, Event.LOAD, Event.MOUSEDOWN, Event.MOUSEMOVE, Event.MOUSEOUT, Event.MOUSEOVER, Event.MOUSEUP, Event.MOVE, Event.RESET, Event.RESIZE, Event.SELECT, Event.SUBMIT, Event.UNLOAD.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/releaseEvents
Method. [Deprecated] [Non Standard] Releases the window from trapping events of a specific type. `window.releaseEvents(eventType) eventType is a combination of the following values: Event.ABORT, Event.BLUR, Event.CLICK, Event.CHANGE, Event.DBLCLICK, Event.DRAGDDROP, Event.ERROR, Event.FOCUS, Event.KEYDOWN, Event.KEYPRESS, Event.KEYUP, Event.LOAD, Event.MOUSEDOWN, Event.MOUSEMOVE, Event.MOUSEOUT, Event.MOUSEOVER, Event.MOUSEUP, Event.MOVE, Event.RESET, Event.RESIZE, Event.SELECT, Event.SUBMIT, Event.UNLOAD.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/releaseEvents`
(remove-event-listener this & args)
Method.
The EventTarget.removeEventListener() method removes from the
an event listener previously registered with EventTarget.addEventListener()
.
event listener to be removed is identified using a combination
the event type, the event listener function itself, and various
options that may affect the matching process; see Matching event
for removal
target.removeEventListener(type, listener[, options]); target.removeEventListener(type, listener[, useCapture]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener
Method. The EventTarget.removeEventListener() method removes from the an event listener previously registered with `EventTarget.addEventListener()`. event listener to be removed is identified using a combination the event type, the event listener function itself, and various options that may affect the matching process; see Matching event for removal `target.removeEventListener(type, listener[, options]); target.removeEventListener(type, listener[, useCapture]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener`
(request-animation-frame this callback)
Method.
The window.requestAnimationFrame() method tells the browser that wish to perform an animation and requests that the browser call specified function to update an animation before the next repaint. method takes a callback as an argument to be invoked before the
window.requestAnimationFrame(callback);
See also: https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame
Method. The window.requestAnimationFrame() method tells the browser that wish to perform an animation and requests that the browser call specified function to update an animation before the next repaint. method takes a callback as an argument to be invoked before the `window.requestAnimationFrame(callback);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame`
(request-file-system this & args)
Method.
[Non Standard]
The non-standard web.Window
method requestFileSystem() method
a Google Chrome-specific method which lets a web site or app
access to a sandboxed file system for its own use. The returned
is then available for use with the other file system APIs.
`This method is prefixed with webkit in all browsers that implement it (that is, Google Chrome).
window.requestFileSystem(type, size, successCallback[, errorCallback]);`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/requestFileSystem
Method. [Non Standard] The non-standard `web.Window` method requestFileSystem() method a Google Chrome-specific method which lets a web site or app access to a sandboxed file system for its own use. The returned is then available for use with the other file system APIs. `This method is prefixed with webkit in all browsers that implement it (that is, Google Chrome). window.requestFileSystem(type, size, successCallback[, errorCallback]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/requestFileSystem`
(request-idle-callback this & args)
Method.
[Experimental]
The window.requestIdleCallback() method queues a function to called during a browser's idle periods. This enables developers perform background and low priority work on the main event loop, impacting latency-critical events such as animation and input Functions are generally called in first-in-first-out order; however, which have a timeout specified may be called out-of-order if in order to run them before the timeout elapses.
var handle = window.requestIdleCallback(callback[, options])
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback
Method. [Experimental] The window.requestIdleCallback() method queues a function to called during a browser's idle periods. This enables developers perform background and low priority work on the main event loop, impacting latency-critical events such as animation and input Functions are generally called in first-in-first-out order; however, which have a timeout specified may be called out-of-order if in order to run them before the timeout elapses. `var handle = window.requestIdleCallback(callback[, options])` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback`
(resize-by this x-delta y-delta)
Method.
The Window.resizeBy() method resizes the current window by a amount.
window.resizeBy(xDelta, yDelta)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeBy
Method. The Window.resizeBy() method resizes the current window by a amount. `window.resizeBy(xDelta, yDelta)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeBy`
(resize-to this a-width a-height)
Method.
The Window.resizeTo() method dynamically resizes the window.
window.resizeTo(aWidth, aHeight)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeTo
Method. The Window.resizeTo() method dynamically resizes the window. `window.resizeTo(aWidth, aHeight)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeTo`
(restore this & args)
Method.
This method is currently not working, but you can use:
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/restore
Method. This method is currently not working, but you can use: See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/restore`
(return-value this)
Property.
The return value to be returned to the function that called window.showModalDialog() display the window as a modal dialog.
Property. The return value to be returned to the function that called window.showModalDialog() display the window as a modal dialog.
(route-event this & args)
Method.
[Obsolute]
The web.Window
method routeEvent(), which is obsolete and no
available, used to be called to forward an event to the next
that has asked to capture events.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/routeEvent
Method. [Obsolute] The `web.Window` method routeEvent(), which is obsolete and no available, used to be called to forward an event to the next that has asked to capture events. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/routeEvent`
(screen this)
Property.
[Read Only]
The web.Window
property screen returns a reference to the screen
associated with the window. The screen object, implementing the
interface, is a special object for inspecting properties of the
on which the current window is being rendered.
let screenObj = window.screen;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/screen
Property. [Read Only] The `web.Window` property screen returns a reference to the screen associated with the window. The screen object, implementing the interface, is a special object for inspecting properties of the on which the current window is being rendered. `let screenObj = window.screen;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/screen`
(screen-left this)
Property.
[Read Only]
The Window.screenLeft read-only property returns the horizontal in CSS pixels, from the left border of the user's browser viewport the left side of the screen.
leftWindowPos = window.screenLeft
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/screenLeft
Property. [Read Only] The Window.screenLeft read-only property returns the horizontal in CSS pixels, from the left border of the user's browser viewport the left side of the screen. `leftWindowPos = window.screenLeft` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/screenLeft`
(screen-top this)
Property.
[Read Only]
The Window.screenTop read-only property returns the vertical in CSS pixels, from the top border of the user's browser viewport the top side of the screen.
topWindowPos = window.screenTop
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/screenTop
Property. [Read Only] The Window.screenTop read-only property returns the vertical in CSS pixels, from the top border of the user's browser viewport the top side of the screen. `topWindowPos = window.screenTop` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/screenTop`
(screen-x this)
Property.
[Read Only]
The Window.screenX read-only property returns the horizontal in CSS pixels, of the left border of the user's browser viewport the left side of the screen.
leftWindowPos = window.screenX
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX
Property. [Read Only] The Window.screenX read-only property returns the horizontal in CSS pixels, of the left border of the user's browser viewport the left side of the screen. `leftWindowPos = window.screenX` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX`
(screen-y this)
Property.
[Read Only]
The Window.screenY read-only property returns the vertical distance, CSS pixels, of the top border of the user's browser viewport the top edge of the screen.
topWindowPos = window.screenY
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY
Property. [Read Only] The Window.screenY read-only property returns the vertical distance, CSS pixels, of the top border of the user's browser viewport the top edge of the screen. `topWindowPos = window.screenY` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY`
(scroll this & args)
Method.
The Window.scroll() method scrolls the window to a particular in the document.
window.scroll(x-coord, y-coord) window.scroll(options)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll
Method. The Window.scroll() method scrolls the window to a particular in the document. `window.scroll(x-coord, y-coord) window.scroll(options)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll`
(scroll-by this & args)
Method.
The Window.scrollBy() method scrolls the document in the window the given amount.
window.scrollBy(x-coord, y-coord); window.scrollBy(options)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy
Method. The Window.scrollBy() method scrolls the document in the window the given amount. `window.scrollBy(x-coord, y-coord); window.scrollBy(options)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy`
(scroll-by-lines this lines)
Method.
[Non Standard]
The Window.scrollByLines() method scrolls the document by the number of lines.
window.scrollByLines(lines)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollByLines
Method. [Non Standard] The Window.scrollByLines() method scrolls the document by the number of lines. `window.scrollByLines(lines)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollByLines`
(scroll-by-pages this pages)
Method.
[Non Standard]
The Window.scrollByPages() method scrolls the current document the specified number of pages.
window.scrollByPages(pages)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollByPages
Method. [Non Standard] The Window.scrollByPages() method scrolls the current document the specified number of pages. `window.scrollByPages(pages)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollByPages`
(scroll-max-x this)
Property.
[Read Only] [Non Standard]
The Window.scrollMaxX read-only property returns the maximum of pixels that the document can be scrolled horizontally.
`xMax = window.scrollMaxX
xMax is the number of pixels.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollMaxX
Property. [Read Only] [Non Standard] The Window.scrollMaxX read-only property returns the maximum of pixels that the document can be scrolled horizontally. `xMax = window.scrollMaxX xMax is the number of pixels.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollMaxX`
(scroll-max-y this)
Property.
[Read Only] [Non Standard]
The Window.scrollMaxY read-only property returns the maximum of pixels that the document can be scrolled vertically.
`yMax = window.scrollMaxY
yMax is the number of pixels.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollMaxY
Property. [Read Only] [Non Standard] The Window.scrollMaxY read-only property returns the maximum of pixels that the document can be scrolled vertically. `yMax = window.scrollMaxY yMax is the number of pixels.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollMaxY`
(scroll-to this & args)
Method.
Window.scrollTo() scrolls to a particular set of coordinates the document.
window.scrollTo(x-coord, y-coord) window.scrollTo(options)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo
Method. Window.scrollTo() scrolls to a particular set of coordinates the document. `window.scrollTo(x-coord, y-coord) window.scrollTo(options)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo`
(scroll-x this)
Property.
[Read Only]
The read-only scrollX property of the web.Window
interface
the number of pixels that the document is currently scrolled
This value is subpixel precise in modern browsers, meaning that
isn't necessarily a whole number. You can get the number of pixels
document is scrolled vertically from the scrollY
property.
var x = window.scrollX;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollX
Property. [Read Only] The read-only scrollX property of the `web.Window` interface the number of pixels that the document is currently scrolled This value is subpixel precise in modern browsers, meaning that isn't necessarily a whole number. You can get the number of pixels document is scrolled vertically from the `scrollY` property. `var x = window.scrollX;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollX`
(scroll-y this)
Property.
[Read Only]
The read-only scrollY property of the web.Window
interface
the number of pixels that the document is currently scrolled
var y = window.scrollY
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY
Property. [Read Only] The read-only scrollY property of the `web.Window` interface the number of pixels that the document is currently scrolled `var y = window.scrollY` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY`
(scrollbars this)
Property.
[Read Only]
The Window.scrollbars property returns the scrollbars object, visibility can be checked.
objRef = window.scrollbars
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollbars
Property. [Read Only] The Window.scrollbars property returns the scrollbars object, visibility can be checked. `objRef = window.scrollbars` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollbars`
(self this)
Property.
[Read Only]
The Window.self read-only property returns the window itself,
a WindowProxy
. It can be used with dot notation on a window
(that is, window.self) or standalone (self). The advantage of
standalone notation is that a similar notation exists for non-window
such as in Web Workers. By using self, you can refer to the global
in a way that will work not only in a window context (self will
to window.self) but also in a worker context (self will then
to WorkerGlobalScope.self
).
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/self
Property. [Read Only] The Window.self read-only property returns the window itself, a `WindowProxy`. It can be used with dot notation on a window (that is, window.self) or standalone (self). The advantage of standalone notation is that a similar notation exists for non-window such as in Web Workers. By using self, you can refer to the global in a way that will work not only in a window context (self will to window.self) but also in a worker context (self will then to `WorkerGlobalScope.self`). See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/self`
(session-storage this)
Property.
The sessionStorage property accesses a session web.storage.Storage
for the current origin. sessionStorage is similar to localStorage
;
difference is that while data in localStorage doesn't expire,
in sessionStorage is cleared when the page session ends.
`// Save data to sessionStorage sessionStorage.setItem('key', 'value');
// Get saved data from sessionStorage let data = sessionStorage.getItem('key');
// Remove saved data from sessionStorage sessionStorage.removeItem('key');
// Remove all saved data from sessionStorage sessionStorage.clear();`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage
Property. The sessionStorage property accesses a session `web.storage.Storage` for the current origin. sessionStorage is similar to `localStorage`; difference is that while data in localStorage doesn't expire, in sessionStorage is cleared when the page session ends. `// Save data to sessionStorage sessionStorage.setItem('key', 'value'); // Get saved data from sessionStorage let data = sessionStorage.getItem('key'); // Remove saved data from sessionStorage sessionStorage.removeItem('key'); // Remove all saved data from sessionStorage sessionStorage.clear();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage`
(set-application-cache! this val)
Property.
Returns a reference to the application cache object for the window.
cache = window.applicationCache
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/applicationCache
Property. Returns a reference to the application cache object for the window. `cache = window.applicationCache` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/applicationCache`
(set-cursor this & args)
Method.
[Non Standard]
The Window.setCursor() method sets the cursor for the current
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/setCursor
Method. [Non Standard] The Window.setCursor() method sets the cursor for the current See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/setCursor`
(set-default-status! this val)
Property.
[Obsolute]
Gets/sets the status bar text for the given window.
var sMsg = window.defaultStatus; window.defaultStatus = sMsg;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/defaultStatus
Property. [Obsolute] Gets/sets the status bar text for the given window. `var sMsg = window.defaultStatus; window.defaultStatus = sMsg;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/defaultStatus`
(set-directories! this val)
Property.
[Obsolute]
Returned the window personalbar toolbar object. Use the window.personalbar
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/directories
Property. [Obsolute] Returned the window personalbar toolbar object. Use the `window.personalbar` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/directories`
(set-dom-matrix! this val)
Property.
Returns a reference to a DOMMatrix object, which represents 4x4 suitable for 2D and 3D operations.
Property. Returns a reference to a DOMMatrix object, which represents 4x4 suitable for 2D and 3D operations.
(set-dom-matrix-read-only! this val)
Property.
Returns a reference to a DOMMatrixReadOnly object, which represents matrices, suitable for 2D and 3D operations.
Property. Returns a reference to a DOMMatrixReadOnly object, which represents matrices, suitable for 2D and 3D operations.
(set-dom-point! this val)
Property.
Returns a reference to a DOMPoint object, which represents a or 3D point in a coordinate system.
Property. Returns a reference to a DOMPoint object, which represents a or 3D point in a coordinate system.
(set-dom-point-read-only! this val)
Property.
Returns a reference to a DOMPointReadOnly object, which represents 2D or 3D point in a coordinate system.
Property. Returns a reference to a DOMPointReadOnly object, which represents 2D or 3D point in a coordinate system.
(set-dom-quad! this val)
Property.
Returns a reference to a DOMQuad object, which provides represents quadrilaterial object, that is one having four corners and four
Property. Returns a reference to a DOMQuad object, which provides represents quadrilaterial object, that is one having four corners and four
(set-dom-rect! this val)
Property.
Returns a reference to a DOMRect object, which represents a rectangle.
Property. Returns a reference to a DOMRect object, which represents a rectangle.
(set-dom-rect-read-only! this val)
Property.
Returns a reference to a DOMRectReadOnly object, which represents rectangle.
Property. Returns a reference to a DOMRectReadOnly object, which represents rectangle.
(set-full-screen! this val)
Property.
The fullScreen property of the Window interface indicates whether window is displayed in full screen mode or not. It is only reliable Gecko 1.9 (Firefox 3) and later; see the Notes below.
`isInFullScreen = windowRef.fullScreen;
With chrome privileges, the property is read-write, otherwise it is read-only. Bear in mind that if you try to set this property without chrome privileges, it will not throw an exception and instead just silently fail. This is to prevent scripts designed to set this property in Internet Explorer from breaking.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/fullScreen
Property. The fullScreen property of the Window interface indicates whether window is displayed in full screen mode or not. It is only reliable Gecko 1.9 (Firefox 3) and later; see the Notes below. `isInFullScreen = windowRef.fullScreen; With chrome privileges, the property is read-write, otherwise it is read-only. Bear in mind that if you try to set this property without chrome privileges, it will not throw an exception and instead just silently fail. This is to prevent scripts designed to set this property in Internet Explorer from breaking.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/fullScreen`
(set-global-storage! this val)
Property.
Unsupported since Gecko 13 (Firefox 13). Use Window.localStorage Was: Multiple storage objects that are used for storing data multiple pages.
Property. Unsupported since Gecko 13 (Firefox 13). Use Window.localStorage Was: Multiple storage objects that are used for storing data multiple pages.
(set-immediate this & args)
Method.
[Non Standard]
This method is used to break up long running operations and run callback function immediately after the browser has completed operations such as events and display updates.
`var immediateID = setImmediate(func, [param1, param2, ...]); var immediateID = setImmediate(func);
where immediateID is the ID of the immediate which can be used later with window.clearImmediate
.
func is the function you wish to call.
All parameters will be passed directly to your function.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/setImmediate
Method. [Non Standard] This method is used to break up long running operations and run callback function immediately after the browser has completed operations such as events and display updates. `var immediateID = setImmediate(func, [param1, param2, ...]); var immediateID = setImmediate(func); where immediateID is the ID of the immediate which can be used later with `window.clearImmediate`. func is the function you wish to call. All parameters will be passed directly to your function.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/setImmediate`
(set-interval this & args)
Method.
The setInterval() method, offered on the web.Window
and web.workers.Worker
repeatedly calls a function or executes a code snippet, with
fixed time delay between each call.
var intervalID = scope.setInterval(func, delay[, arg1, arg2, ...]); var intervalID = scope.setInterval(code, delay);
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval
Method. The setInterval() method, offered on the `web.Window` and `web.workers.Worker` repeatedly calls a function or executes a code snippet, with fixed time delay between each call. `var intervalID = scope.setInterval(func, delay[, arg1, arg2, ...]); var intervalID = scope.setInterval(code, delay);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval`
(set-message-manager! this val)
Property.
Returns the message manager object for this window.
Property. Returns the message manager object for this window.
(set-name! this val)
Property.
Gets/sets the name of the window.
string = window.name; window.name = string;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/name
Property. Gets/sets the name of the window. `string = window.name; window.name = string;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/name`
(set-onabort! this val)
Property.
[Draft] [Experimental]
The onabort property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing abort events sent to the window.
window.onabort = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onabort
Property. [Draft] [Experimental] The onabort property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing abort events sent to the window. `window.onabort = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onabort`
(set-onafterprint! this val)
Property.
The onafterprint property of the web.dom.WindowEventHandlers
is the EventHandler
for processing afterprint events for the
window. These events are raised after the user prints, or if
abort the print dialog.
window.addEventListener(\"afterprint\", function(event) { ... }); window.onafterprint = function(event) { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onafterprint
Property. The onafterprint property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing afterprint events for the window. These events are raised after the user prints, or if abort the print dialog. `window.addEventListener(\"afterprint\", function(event) { ... }); window.onafterprint = function(event) { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onafterprint`
(set-onanimationcancel! this val)
Property.
The onanimationcancel property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing animationcancel events.
`var animCancelHandler = target.onanimationcancel;
target.onanimationcancel = Function`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationcancel
Property. The onanimationcancel property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing animationcancel events. `var animCancelHandler = target.onanimationcancel; target.onanimationcancel = Function` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationcancel`
(set-onanimationend! this val)
Property.
The onanimationend property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing animationend events.
`var animEndHandler = target.onanimationend;
target.onanimationend = Function`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationend
Property. The onanimationend property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing animationend events. `var animEndHandler = target.onanimationend; target.onanimationend = Function` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationend`
(set-onanimationiteration! this val)
Property.
[Draft]
The onanimationiteration property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing animationiteration events.
`var animIterationHandler = target.onanimationiteration;
target.onanimationiteration = Function`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationiteration
Property. [Draft] The onanimationiteration property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing animationiteration events. `var animIterationHandler = target.onanimationiteration; target.onanimationiteration = Function` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onanimationiteration`
(set-onappinstalled! this val)
Property.
The onappinstalled attribute of the web.Window
object serves
an event handler for the appinstalled event, which is dispatched
the web application is successfully installed as a progressive
app. The event that is fired is a "simple event" that implements
web.event.Event
interface.
window.onappinstalled = function(event) { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled
Property. The onappinstalled attribute of the `web.Window` object serves an event handler for the appinstalled event, which is dispatched the web application is successfully installed as a progressive app. The event that is fired is a \"simple event\" that implements `web.event.Event` interface. `window.onappinstalled = function(event) { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled`
(set-onauxclick! this val)
Property.
[Experimental]
The onauxclick property of the web.dom.GlobalEventHandlers
is an EventHandler
for processing auxclick events.
target.onauxclick = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onauxclick
Property. [Experimental] The onauxclick property of the `web.dom.GlobalEventHandlers` is an `EventHandler` for processing auxclick events. `target.onauxclick = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onauxclick`
(set-onbeforeinstallprompt! this val)
Property.
The Window.onbeforeinstallprompt property is an event handler processing a beforeinstallprompt, which is dispatched on devices a user is about to be prompted to "install" a web application. associated event may be saved for later and used to prompt the at a more suitable time.
window.addEventListener(\"beforeinstallprompt\", function(event) { ... }); window.onbeforeinstallprompt = function(event) { ...};
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinstallprompt
Property. The Window.onbeforeinstallprompt property is an event handler processing a beforeinstallprompt, which is dispatched on devices a user is about to be prompted to \"install\" a web application. associated event may be saved for later and used to prompt the at a more suitable time. `window.addEventListener(\"beforeinstallprompt\", function(event) { ... }); window.onbeforeinstallprompt = function(event) { ...};` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinstallprompt`
(set-onbeforeprint! this val)
Property.
The onbeforeprint property of the web.dom.WindowEventHandlers
is the EventHandler
for processing beforeprint events for the
window. These events are raised before the print dialog window
opened.
window.addEventListener(\"beforeprint\", function(event) { ... }); window.onbeforeprint = function(event) { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint
Property. The onbeforeprint property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing beforeprint events for the window. These events are raised before the print dialog window opened. `window.addEventListener(\"beforeprint\", function(event) { ... }); window.onbeforeprint = function(event) { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint`
(set-onbeforeunload! this val)
Property.
The onbeforeunload property of the web.dom.WindowEventHandlers
is the EventHandler
for processing beforeunload events. These
fire when a window is about to unload its resources. At this
the document is still visible and the event is still cancelable.
`window.addEventListener("beforeunload", function(event) { ... }); window.onbeforeunload = function(event) { ... };
Typically, it is better to use window.addEventListener()
and the beforeunload event, instead of onbeforeunload.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload
Property. The onbeforeunload property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing beforeunload events. These fire when a window is about to unload its resources. At this the document is still visible and the event is still cancelable. `window.addEventListener(\"beforeunload\", function(event) { ... }); window.onbeforeunload = function(event) { ... }; Typically, it is better to use `window.addEventListener()` and the beforeunload event, instead of onbeforeunload.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload`
(set-onblur! this val)
Property.
The onblur property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing blur events. It's available
web.Element
, web.Document
, and web.Window
.
target.onblur = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onblur
Property. The onblur property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing blur events. It's available `web.Element`, `web.Document`, and `web.Window`. `target.onblur = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onblur`
(set-oncancel! this val)
Property.
The oncancel property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
for processing cancel events sent to a <dialog>
target.oncancel = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncancel
Property. The oncancel property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` for processing cancel events sent to a `<dialog>` `target.oncancel = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncancel`
(set-oncanplay! this val)
Property.
The oncanplay property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing canplay events.
`element.oncanplay = handlerFunction; var handlerFunction = element.oncanplay;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncanplay
Property. The oncanplay property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing canplay events. `element.oncanplay = handlerFunction; var handlerFunction = element.oncanplay; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncanplay`
(set-oncanplaythrough! this val)
Property.
The oncanplaythrough property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing canplaythrough events.
`element.oncanplaythrough = handlerFunction; var handlerFunction = element.oncanplaythrough;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncanplaythrough
Property. The oncanplaythrough property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing canplaythrough events. `element.oncanplaythrough = handlerFunction; var handlerFunction = element.oncanplaythrough; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncanplaythrough`
(set-onchange! this val)
Property.
The onchange property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
for processing change events.
`target.onchange = functionRef;
functionRef is a function name or a function expression. The function receives an web.event.Event
object as its sole argument.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onchange
Property. The onchange property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` for processing change events. `target.onchange = functionRef; functionRef is a function name or a function expression. The function receives an `web.event.Event` object as its sole argument.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onchange`
(set-onclick! this val)
Property.
The onclick property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing click events on a given element.
target.onclick = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onclick
Property. The onclick property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing click events on a given element. `target.onclick = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onclick`
(set-onclose! this val)
Property.
[Experimental]
The onclose property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
for processing close events sent to a <dialog>
target.onclose = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onclose
Property. [Experimental] The onclose property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` for processing close events sent to a `<dialog>` `target.onclose = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onclose`
(set-oncontextmenu! this val)
Property.
The oncontextmenu property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes contextmenu events.
target.oncontextmenu = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncontextmenu
Property. The oncontextmenu property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes contextmenu events. `target.oncontextmenu = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncontextmenu`
(set-oncuechange! this val)
Property.
The oncuechange property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing cuechange events.
`element.oncuechange = handlerFunction; var handlerFunction = element.oncuechange;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncuechange
Property. The oncuechange property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing cuechange events. `element.oncuechange = handlerFunction; var handlerFunction = element.oncuechange; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oncuechange`
(set-ondblclick! this val)
Property.
The ondblclick property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes dblclick events on the given
target.ondblclick = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ondblclick
Property. The ondblclick property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes dblclick events on the given `target.ondblclick = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ondblclick`
(set-ondevicelight! this val)
Property.
Specifies an event listener to receive devicelight events. These occur when the device's light level sensor detects a change in intensity of the ambient light level.
`window.ondevicelight = funcRef
Where funcRef is a function to be called when the devicelight event occurs. These events are of type web.ambient.DeviceLightEvent
.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondevicelight
Property. Specifies an event listener to receive devicelight events. These occur when the device's light level sensor detects a change in intensity of the ambient light level. `window.ondevicelight = funcRef Where funcRef is a function to be called when the devicelight event occurs. These events are of type `web.ambient.DeviceLightEvent`.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondevicelight`
(set-ondevicemotion! this val)
Property.
An event handler for the devicemotion events sent to the window.
`window.ondevicemotion = funcRef;
Where funcRef is a reference to a function. This function receives a web.mobile.DeviceMotionEvent
object describing the motion that occurred.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondevicemotion
Property. An event handler for the devicemotion events sent to the window. `window.ondevicemotion = funcRef; Where funcRef is a reference to a function. This function receives a `web.mobile.DeviceMotionEvent` object describing the motion that occurred.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondevicemotion`
(set-ondeviceorientation! this val)
Property.
An event handler for the deviceorientation event, which contains about a relative device orientation change.
window.ondeviceorientation = function(event) { ... }; window.addEventListener('deviceorientation', function(event) { ... });
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceorientation
Property. An event handler for the deviceorientation event, which contains about a relative device orientation change. `window.ondeviceorientation = function(event) { ... }; window.addEventListener('deviceorientation', function(event) { ... });` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceorientation`
(set-ondeviceorientationabsolute! this val)
Property.
[Non Standard]
An event handler for the deviceorientationabsolute event containing about an absolute device orientation change.
window.ondeviceorientationabsolute = function(event) { ... }; window.addEventListener('deviceorientationabsolute', function(event) { ... });
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceorientationabsolute
Property. [Non Standard] An event handler for the deviceorientationabsolute event containing about an absolute device orientation change. `window.ondeviceorientationabsolute = function(event) { ... }; window.addEventListener('deviceorientationabsolute', function(event) { ... });` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceorientationabsolute`
(set-ondeviceproximity! this val)
Property.
The ondeviceproximity property of the web.Window
interface
an EventHandler
to receive deviceproximity events. These events
when the device sensor detects that an object becomes closer
or farther from the device.
`window.onuserproximity = funcRef
Where funcRef is a function to be called when the deviceproximity event occurs. These events are of type web.divice.DeviceProximityEvent
.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceproximity
Property. The ondeviceproximity property of the `web.Window` interface an `EventHandler` to receive deviceproximity events. These events when the device sensor detects that an object becomes closer or farther from the device. `window.onuserproximity = funcRef Where funcRef is a function to be called when the deviceproximity event occurs. These events are of type `web.divice.DeviceProximityEvent`.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondeviceproximity`
(set-ondragdrop! this val)
Property.
[Non Standard] [Obsolute]
An event handler for drag and drop events sent to the window.
`window.ondragdrop = funcRef; window.addEventListener("dragdrop", funcRef, useCapturing);
funcRef The event handler function to be registered.
The window.ondragdrop property and the ondragdrop attribute are not implemented in Gecko (bug 112288), you have to use addEventListener. See addEventListener for details.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragdrop
Property. [Non Standard] [Obsolute] An event handler for drag and drop events sent to the window. `window.ondragdrop = funcRef; window.addEventListener(\"dragdrop\", funcRef, useCapturing); funcRef The event handler function to be registered. The window.ondragdrop property and the ondragdrop attribute are not implemented in Gecko (bug 112288), you have to use addEventListener. See addEventListener for details.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragdrop`
(set-ondurationchange! this val)
Property.
The ondurationchange property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing durationchange events.
`element.ondurationchange = handlerFunction; var handlerFunction = element.ondurationchange;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ondurationchange
Property. The ondurationchange property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing durationchange events. `element.ondurationchange = handlerFunction; var handlerFunction = element.ondurationchange; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ondurationchange`
(set-onended! this val)
Property.
The onended property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing ended events.
`element.onended = handlerFunction; var handlerFunction = element.onended;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onended
Property. The onended property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing ended events. `element.onended = handlerFunction; var handlerFunction = element.onended; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onended`
(set-onerror! this val)
Property.
The onerror property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes error events.
For historical reasons, different arguments are passed to window.onerror and element.onerror handlers (as well as on error-type
window.addEventListenerhandlers).
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
Property. The onerror property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes error events. `For historical reasons, different arguments are passed to window.onerror and element.onerror handlers (as well as on error-type `window.addEventListener` handlers).` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror`
(set-onfocus! this val)
Property.
The onfocus property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes focus events on the given element.
target.onfocus = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onfocus
Property. The onfocus property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes focus events on the given element. `target.onfocus = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onfocus`
(set-ongamepadconnected! this val)
Property.
[Experimental]
The ongamepadconnected property of the web.Window
interface
an event handler that will run when a gamepad is connected (when
gamepadconnected event fires).
window.ongamepadconnected = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepadconnected
Property. [Experimental] The ongamepadconnected property of the `web.Window` interface an event handler that will run when a gamepad is connected (when gamepadconnected event fires). `window.ongamepadconnected = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepadconnected`
(set-ongamepaddisconnected! this val)
Property.
[Experimental]
The ongamepaddisconnected property of the web.Window
interface
an event handler that will run when a gamepad is disconnected
the gamepaddisconnected event fires).
window.ongamepaddisconnected = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepaddisconnected
Property. [Experimental] The ongamepaddisconnected property of the `web.Window` interface an event handler that will run when a gamepad is disconnected the gamepaddisconnected event fires). `window.ongamepaddisconnected = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepaddisconnected`
(set-ongotpointercapture! this val)
Property.
The ongotpointercapture property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes gotpointercapture events.
target.ongotpointercapture = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ongotpointercapture
Property. The ongotpointercapture property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes gotpointercapture events. `target.ongotpointercapture = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ongotpointercapture`
(set-onhashchange! this val)
Property.
The WindowEventHandlers.onhashchange property of the web.dom.WindowEventHandlers
is the EventHandler
for processing hashchange events.
`Using an event handler:
window.onhashchange = funcRef;
Using an HTML event handler:
<body onhashchange=\"funcRef();\">
Using an event listener:
To add an event listener, use addEventListener()
:
window.addEventListener("hashchange", funcRef, false);`
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange
Property. The WindowEventHandlers.onhashchange property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing hashchange events. `Using an event handler: window.onhashchange = funcRef; Using an HTML event handler: <body onhashchange=\"funcRef();\"> Using an event listener: To add an event listener, use `addEventListener()`: window.addEventListener(\"hashchange\", funcRef, false);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange`
(set-oninput! this val)
Property.
The oninput property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes input events on the <input>
,
and <textarea>
elements. It also handles these events on elements
contenteditable
or designMode
are turned on.
target.oninput = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oninput
Property. The oninput property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes input events on the `<input>`, and `<textarea>` elements. It also handles these events on elements `contenteditable` or `designMode` are turned on. `target.oninput = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oninput`
(set-oninvalid! this val)
Property.
The oninvalid property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes invalid events.
target.oninvalid = functionRef; var functionRef = target.oninvalid;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oninvalid
Property. The oninvalid property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes invalid events. `target.oninvalid = functionRef; var functionRef = target.oninvalid;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oninvalid`
(set-onkeydown! this val)
Property.
The onkeydown property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes keydown events.
target.onkeydown = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeydown
Property. The onkeydown property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes keydown events. `target.onkeydown = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeydown`
(set-onkeypress! this val)
Property.
[Deprecated]
The onkeypress property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes keypress events.
target.onkeypress = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeypress
Property. [Deprecated] The onkeypress property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes keypress events. `target.onkeypress = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeypress`
(set-onkeyup! this val)
Property.
The onkeyup property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes keyup events.
target.onkeyup = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeyup
Property. The onkeyup property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes keyup events. `target.onkeyup = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeyup`
(set-onlanguagechange! this val)
Property.
[Experimental]
The onlanguagechange property of the web.dom.WindowEventHandlers
is the EventHandler
for processing languagechange events.
object.onlanguagechange = function;
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onlanguagechange
Property. [Experimental] The onlanguagechange property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing languagechange events. `object.onlanguagechange = function;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onlanguagechange`
(set-onload! this val)
Property.
The onload property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes load events on a web.Window
,
<img>
element, etc.
target.onload = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
Property. The onload property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes load events on a `web.Window`, `<img>` element, etc. `target.onload = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload`
(set-onloadeddata! this val)
Property.
The onloadeddata property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing loadeddata events.
`element.onloadeddata = handlerFunction; var handlerFunction = element.onloadeddata;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadeddata
Property. The onloadeddata property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing loadeddata events. `element.onloadeddata = handlerFunction; var handlerFunction = element.onloadeddata; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadeddata`
(set-onloadedmetadata! this val)
Property.
The onloadedmetadata property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing loadedmetadata events.
`element.onloadedmetadata = handlerFunction; var handlerFunction = element.onloadedmetadata;
handlerFunction should be either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadedmetadata
Property. The onloadedmetadata property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing loadedmetadata events. `element.onloadedmetadata = handlerFunction; var handlerFunction = element.onloadedmetadata; handlerFunction should be either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadedmetadata`
(set-onloadend! this val)
Property.
The onloadend property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
representing the code to be called when the
event is raised (when progress has stopped on the loading of
resource.)
img.onloadend = funcRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadend
Property. The onloadend property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` representing the code to be called when the event is raised (when progress has stopped on the loading of resource.) `img.onloadend = funcRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadend`
(set-onloadstart! this val)
Property.
The onloadstart property of the web.dom.GlobalEventHandlers
is an EventHandler
representing the code to be called when
loadstart event is raised (when progress has begun on the loading
a resource.)
img.onloadstart = funcRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadstart
Property. The onloadstart property of the `web.dom.GlobalEventHandlers` is an `EventHandler` representing the code to be called when loadstart event is raised (when progress has begun on the loading a resource.) `img.onloadstart = funcRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onloadstart`
(set-onlostpointercapture! this val)
Property.
The onlostpointercapture property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes lostpointercapture events.
target.onlostpointercapture = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onlostpointercapture
Property. The onlostpointercapture property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes lostpointercapture events. `target.onlostpointercapture = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onlostpointercapture`
(set-onmessage! this val)
Property.
[Experimental]
The onmessage property of the web.dom.WindowEventHandlers
mixin
the EventHandler
called whenever an object receives a message
window.addEventListener('message', function(event) { ... }) window.onmessage = function(event) { ... }
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessage
Property. [Experimental] The onmessage property of the `web.dom.WindowEventHandlers` mixin the `EventHandler` called whenever an object receives a message `window.addEventListener('message', function(event) { ... }) window.onmessage = function(event) { ... }` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessage`
(set-onmessageerror! this val)
Property.
The onmessageerror event handler of the web.dom.WindowEventHandlers
is an web.EventListener
, called whenever an web.workers.MessageEvent
type messageerror is fired on a window—that is, when it receives
message that cannot be deserialized.
window.onmessageerror = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessageerror
Property. The onmessageerror event handler of the `web.dom.WindowEventHandlers` is an `web.EventListener`, called whenever an `web.workers.MessageEvent` type messageerror is fired on a window—that is, when it receives message that cannot be deserialized. `window.onmessageerror = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onmessageerror`
(set-onmousedown! this val)
Property.
The onmousedown property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes mousedown events.
target.onmousedown = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmousedown
Property. The onmousedown property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes mousedown events. `target.onmousedown = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmousedown`
(set-onmouseenter! this val)
Property.
The onmouseenter property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing mouseenter events.
`element.onmouseenter = handlerFunction; var handlerFunction = element.onmouseenter;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseenter
Property. The onmouseenter property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing mouseenter events. `element.onmouseenter = handlerFunction; var handlerFunction = element.onmouseenter; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseenter`
(set-onmouseleave! this val)
Property.
The onmouseleave property of the web.dom.GlobalEventHandlers
is the EventHandler
for processing mouseleave events.
`element.onmouseleave = handlerFunction; var handlerFunction = element.onmouseleave;
handlerFunction is either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseleave
Property. The onmouseleave property of the `web.dom.GlobalEventHandlers` is the `EventHandler` for processing mouseleave events. `element.onmouseleave = handlerFunction; var handlerFunction = element.onmouseleave; handlerFunction is either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseleave`
(set-onmousemove! this val)
Property.
The onmousemove property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes mousemove events.
target.onmousemove = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmousemove
Property. The onmousemove property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes mousemove events. `target.onmousemove = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmousemove`
(set-onmouseout! this val)
Property.
The onmouseout property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes mouseout events.
element.onmouseout = function;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseout
Property. The onmouseout property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes mouseout events. `element.onmouseout = function;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseout`
(set-onmouseover! this val)
Property.
The onmouseover property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes mouseover events.
element.onmouseover = function;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseover
Property. The onmouseover property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes mouseover events. `element.onmouseover = function;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseover`
(set-onmouseup! this val)
Property.
The onmouseup property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes mouseup events.
target.onmouseup = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseup
Property. The onmouseup property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes mouseup events. `target.onmouseup = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onmouseup`
(set-onmozbeforepaint! this val)
Property.
[Non Standard] [Obsolute]
An event handler for the MozBeforePaint event. This is used in
with the window.mozRequestAnimationFrame()
method to perform
synchronized animations from JavaScript code.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onmozbeforepaint
Property. [Non Standard] [Obsolute] An event handler for the MozBeforePaint event. This is used in with the `window.mozRequestAnimationFrame()` method to perform synchronized animations from JavaScript code. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onmozbeforepaint`
(set-onpaint! this val)
Property.
[Non Standard]
Window.onpaint is an event handler for the paint event on the
`window.onpaint = funcRef;
funcRef is a handler function.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onpaint
Property. [Non Standard] Window.onpaint is an event handler for the paint event on the `window.onpaint = funcRef; funcRef is a handler function.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onpaint`
(set-onpause! this val)
Property.
The onpause property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing pause events.
`element.onpause = handlerFunction; var handlerFunction = element.onpause;
handlerFunction should be either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpause
Property. The onpause property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing pause events. `element.onpause = handlerFunction; var handlerFunction = element.onpause; handlerFunction should be either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpause`
(set-onplay! this val)
Property.
The onplay property of the web.dom.GlobalEventHandlers
mixin
the EventHandler
for processing play events.
`element.onplay = handlerFunction; var handlerFunction = element.onplay;
handlerFunction should be either null or a JavaScript function specifying the handler for the event.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onplay
Property. The onplay property of the `web.dom.GlobalEventHandlers` mixin the `EventHandler` for processing play events. `element.onplay = handlerFunction; var handlerFunction = element.onplay; handlerFunction should be either null or a JavaScript function specifying the handler for the event.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onplay`
(set-onpointercancel! this val)
Property.
The onpointercancel property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointercancel events.
`targetElement.onpointercancel = cancelHandler;
var cancelHandler = targetElement.onpointercancel;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointercancel
Property. The onpointercancel property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointercancel events. `targetElement.onpointercancel = cancelHandler; var cancelHandler = targetElement.onpointercancel;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointercancel`
(set-onpointerdown! this val)
Property.
The web.dom.GlobalEventHandlers
event handler onpointerdown
used to specify the event handler for the pointerdown event,
is fired when the pointing device is initially pressed. This
can be sent to web.Window
, web.Document
, and web.Element
`target.onpointerdown = downHandler;
var downHandler = target.onpointerdown;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerdown
Property. The `web.dom.GlobalEventHandlers` event handler onpointerdown used to specify the event handler for the pointerdown event, is fired when the pointing device is initially pressed. This can be sent to `web.Window`, `web.Document`, and `web.Element` `target.onpointerdown = downHandler; var downHandler = target.onpointerdown;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerdown`
(set-onpointerenter! this val)
Property.
The onpointerenter property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointerenter events.
`targetElement.onpointerenter = enterHandler;
var enterHandler = targetElement.onpointerenter;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerenter
Property. The onpointerenter property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointerenter events. `targetElement.onpointerenter = enterHandler; var enterHandler = targetElement.onpointerenter;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerenter`
(set-onpointerleave! this val)
Property.
The global event handler for the pointerleave event, which is
to a web.Node
when the pointer (mouse cursor, fingertip, etc.)
its hit test area (for example, if the cursor exits an web.Element
web.Window
's content area). This event is part of the Pointer
API.
`EventTarget.onpointerleave = leaveHandler;
var leaveHandler = EventTarget.onpointerleave;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerleave
Property. The global event handler for the pointerleave event, which is to a `web.Node` when the pointer (mouse cursor, fingertip, etc.) its hit test area (for example, if the cursor exits an `web.Element` `web.Window`'s content area). This event is part of the Pointer API. `EventTarget.onpointerleave = leaveHandler; var leaveHandler = EventTarget.onpointerleave;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerleave`
(set-onpointermove! this val)
Property.
The onpointermove property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointermove events.
`targetElement.onpointermove = moveHandler;
var moveHandler = targetElement.onpointermove;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointermove
Property. The onpointermove property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointermove events. `targetElement.onpointermove = moveHandler; var moveHandler = targetElement.onpointermove;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointermove`
(set-onpointerout! this val)
Property.
The onpointerout property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointerout events.
`targetElement.onpointerout = outHandler;
var outHandler = targetElement.onpointerout;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerout
Property. The onpointerout property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointerout events. `targetElement.onpointerout = outHandler; var outHandler = targetElement.onpointerout;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerout`
(set-onpointerover! this val)
Property.
The onpointerover property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointerover events.
`targetElement.onpointerover = overHandler;
var overHandler = targetElement.onpointerover;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerover
Property. The onpointerover property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointerover events. `targetElement.onpointerover = overHandler; var overHandler = targetElement.onpointerover;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerover`
(set-onpointerup! this val)
Property.
The onpointerup property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes pointerup events.
`targetElement.onpointerup = upHandler;
var upHandler = targetElement.onpointerup;`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerup
Property. The onpointerup property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes pointerup events. `targetElement.onpointerup = upHandler; var upHandler = targetElement.onpointerup;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onpointerup`
(set-onpopstate! this val)
Property.
The onpopstate property of the web.dom.WindowEventHandlers
is the EventHandler
for processing popstate events on the window.
`window.onpopstate = funcRef;
funcRef is a handler function.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate
Property. The onpopstate property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing popstate events on the window. `window.onpopstate = funcRef; funcRef is a handler function.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate`
(set-onrejectionhandled! this val)
Property.
The onrejectionhandled property of the web.dom.WindowEventHandlers
is the EventHandler
for processing rejectionhandled events.
events are raised when js.Promise
s are rejected.
window.addEventListener(\"rejectionhandled\", function(event) { ... }); window.onrejectionhandled = function(event) { ...};
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onrejectionhandled
Property. The onrejectionhandled property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing rejectionhandled events. events are raised when `js.Promise`s are rejected. `window.addEventListener(\"rejectionhandled\", function(event) { ... }); window.onrejectionhandled = function(event) { ...};` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onrejectionhandled`
(set-onreset! this val)
Property.
The onreset property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes reset events.
target.onreset = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onreset
Property. The onreset property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes reset events. `target.onreset = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onreset`
(set-onresize! this val)
Property.
The onresize property of the web.dom.GlobalEventHandlers
interface
an EventHandler
that processes resize events.
window.onresize = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onresize
Property. The onresize property of the `web.dom.GlobalEventHandlers` interface an `EventHandler` that processes resize events. `window.onresize = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onresize`
(set-onscroll! this val)
Property.
The onscroll property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes scroll events.
target.onscroll = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onscroll
Property. The onscroll property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes scroll events. `target.onscroll = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onscroll`
(set-onselect! this val)
Property.
The onselect property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes select
.
target.onselect = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselect
Property. The onselect property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes `select`. `target.onselect = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselect`
(set-onselectionchange! this val)
Property.
[Experimental]
The onselectionchange property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes selectionchange events.
object.onselectionchange = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselectionchange
Property. [Experimental] The onselectionchange property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes selectionchange events. `object.onselectionchange = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselectionchange`
(set-onselectstart! this val)
Property.
[Experimental]
The onselectstart property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes selectstart events.
object.onselectstart = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselectstart
Property. [Experimental] The onselectstart property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes selectstart events. `object.onselectstart = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onselectstart`
(set-onstorage! this val)
Property.
The onstorage property of the web.dom.WindowEventHandlers
mixin
an EventHandler
for processing storage events.
window.onstorage = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onstorage
Property. The onstorage property of the `web.dom.WindowEventHandlers` mixin an `EventHandler` for processing storage events. `window.onstorage = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onstorage`
(set-onsubmit! this val)
Property.
The onsubmit property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes submit events.
target.onsubmit = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onsubmit
Property. The onsubmit property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes submit events. `target.onsubmit = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onsubmit`
(set-ontouchcancel! this val)
Property.
[Experimental]
The ontouchcancel property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes touchcancel events.
var cancelHandler = someElement.ontouchcancel;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontouchcancel
Property. [Experimental] The ontouchcancel property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes touchcancel events. `var cancelHandler = someElement.ontouchcancel;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontouchcancel`
(set-ontouchstart! this val)
Property.
[Experimental]
The ontouchstart property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes touchstart events.
var startHandler = someElement.ontouchstart;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontouchstart
Property. [Experimental] The ontouchstart property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes touchstart events. `var startHandler = someElement.ontouchstart;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontouchstart`
(set-ontransitioncancel! this val)
Property.
The ontransitioncancel property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes transitioncancel events.
`var transitionCancelHandler = target.ontransitioncancel;
target.ontransitioncancel = Function`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontransitioncancel
Property. The ontransitioncancel property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes transitioncancel events. `var transitionCancelHandler = target.ontransitioncancel; target.ontransitioncancel = Function` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontransitioncancel`
(set-ontransitionend! this val)
Property.
The ontransitionend property of the web.dom.GlobalEventHandlers
is an EventHandler
that processes transitionend events.
`var transitionEndHandler = target.ontransitionend;
target.ontransitionend = Function`
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontransitionend
Property. The ontransitionend property of the `web.dom.GlobalEventHandlers` is an `EventHandler` that processes transitionend events. `var transitionEndHandler = target.ontransitionend; target.ontransitionend = Function` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontransitionend`
(set-onunhandledrejection! this val)
Property.
The onunhandledrejection property of the web.dom.WindowEventHandlers
is the EventHandler
for processing unhandledrejection events.
events are raised for unhandled js.Promise
rejections.
window.onunhandledrejection = function;
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunhandledrejection
Property. The onunhandledrejection property of the `web.dom.WindowEventHandlers` is the `EventHandler` for processing unhandledrejection events. events are raised for unhandled `js.Promise` rejections. `window.onunhandledrejection = function;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunhandledrejection`
(set-onunload! this val)
Property.
The onunload property of the web.dom.WindowEventHandlers
mixin
the EventHandler
for processing unload events. These events
when the window is unloading its content and resources. The resource
is processed after the unload event occurs.
`window.addEventListener("unload", function(event) { ... }); window.onunload = function(event) { ... };
Typically, it is better to use window.addEventListener()
and the unload event, instead of onunload.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunload
Property. The onunload property of the `web.dom.WindowEventHandlers` mixin the `EventHandler` for processing unload events. These events when the window is unloading its content and resources. The resource is processed after the unload event occurs. `window.addEventListener(\"unload\", function(event) { ... }); window.onunload = function(event) { ... }; Typically, it is better to use `window.addEventListener()` and the unload event, instead of onunload.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onunload`
(set-onuserproximity! this val)
Property.
The Window.onuserproxymity property represents an EventHandler
,
is a function to be called when the userproximity event occurs.
events are of type web.other.UserProximityEvent
and occur when
the device sensor detects that an object becomes nearby.
window.onuserproximity = eventHandler
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onuserproximity
Property. The Window.onuserproxymity property represents an `EventHandler`, is a function to be called when the userproximity event occurs. events are of type `web.other.UserProximityEvent` and occur when the device sensor detects that an object becomes nearby. `window.onuserproximity = eventHandler` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onuserproximity`
(set-onvrdisplayactivate! this val)
Property.
[Experimental]
The onvrdisplayactivate property of the web.Window
interface
an event handler that will run when a display is able to be presented
(when the vrdisplayactivate event fires), for example if an HMD
been moved to bring it out of standby, or woken up by being put
window.onvrdisplayactivate = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate
Property. [Experimental] The onvrdisplayactivate property of the `web.Window` interface an event handler that will run when a display is able to be presented (when the vrdisplayactivate event fires), for example if an HMD been moved to bring it out of standby, or woken up by being put `window.onvrdisplayactivate = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate`
(set-onvrdisplayblur! this val)
Property.
[Experimental]
The onvrdisplayblur property of the web.Window
interface represents
event handler that will run when presentation to a display has
paused for some reason by the browser, OS, or VR hardware (when
vrdisplayblur event fires) — for example, while the user is interacting
a system menu or browser, to prevent tracking or loss of experience.
window.onvrdisplayblur = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayblur
Property. [Experimental] The onvrdisplayblur property of the `web.Window` interface represents event handler that will run when presentation to a display has paused for some reason by the browser, OS, or VR hardware (when vrdisplayblur event fires) — for example, while the user is interacting a system menu or browser, to prevent tracking or loss of experience. `window.onvrdisplayblur = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayblur`
(set-onvrdisplayconnect! this val)
Property.
[Experimental]
The onvrdisplayconnect property of the web.Window
interface
an event handler that will run when a compatible VR display has
connected to the computer (when the vrdisplayconnect event fires).
window.onvrdisplayconnect = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect
Property. [Experimental] The onvrdisplayconnect property of the `web.Window` interface an event handler that will run when a compatible VR display has connected to the computer (when the vrdisplayconnect event fires). `window.onvrdisplayconnect = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect`
(set-onvrdisplaydeactivate! this val)
Property.
[Experimental]
The onvrdisplaydeactivate property of the web.Window
interface
an event handler that will run when a display can no longer be
to (when the vrdisplaydeactivate event fires), for example if
HMD has gone into standby or sleep mode due to a period of inactivity.
window.onvrdisplaydeactivate = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate
Property. [Experimental] The onvrdisplaydeactivate property of the `web.Window` interface an event handler that will run when a display can no longer be to (when the vrdisplaydeactivate event fires), for example if HMD has gone into standby or sleep mode due to a period of inactivity. `window.onvrdisplaydeactivate = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate`
(set-onvrdisplaydisconnect! this val)
Property.
[Experimental]
The onvrdisplaydisconnect event handler property of the web.Window
is called when a compatible VR display has been disconnected
the computer (when the vrdisplaydisconnect event fires).
window.onvrdisplaydisconnect = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect
Property. [Experimental] The onvrdisplaydisconnect event handler property of the `web.Window` is called when a compatible VR display has been disconnected the computer (when the vrdisplaydisconnect event fires). `window.onvrdisplaydisconnect = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect`
(set-onvrdisplayfocus! this val)
Property.
[Experimental]
The onvrdisplayfocus property of the web.Window
interface represents
event handler that will run when presentation to a display has
after being blurred (when the vrdisplayfocus event fires).
window.onvrdisplayfocus = function() { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayfocus
Property. [Experimental] The onvrdisplayfocus property of the `web.Window` interface represents event handler that will run when presentation to a display has after being blurred (when the vrdisplayfocus event fires). `window.onvrdisplayfocus = function() { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayfocus`
(set-onvrdisplaypointerrestricted! this val)
Property.
[Experimental]
The onvrdisplaypointerrestricted property of the web.Window
represents an event handler that will run when the VR display's
input is restricted to consumption via a pointerlocked element.
window.onvrdisplaypointerrestricted = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypointerrestricted
Property. [Experimental] The onvrdisplaypointerrestricted property of the `web.Window` represents an event handler that will run when the VR display's input is restricted to consumption via a pointerlocked element. `window.onvrdisplaypointerrestricted = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypointerrestricted`
(set-onvrdisplaypointerunrestricted! this val)
Property.
[Experimental]
The onvrdisplaypointerunrestricted property of the web.Window
represents an event handler that will run when the VR display's
input is no longer restricted to consumption via a pointerlocked
window.onvrdisplaypointerunrestricted = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypointerunrestricted
Property. [Experimental] The onvrdisplaypointerunrestricted property of the `web.Window` represents an event handler that will run when the VR display's input is no longer restricted to consumption via a pointerlocked `window.onvrdisplaypointerunrestricted = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypointerunrestricted`
(set-onvrdisplaypresentchange! this val)
Property.
[Experimental]
The onvrdisplaypresentchange property of the web.Window
interface
an event handler that will run when the presenting state of a
display changes — i.e. goes from presenting to not presenting,
vice versa (when the vrdisplaypresentchange event fires).
window.onvrdisplaypresentchange = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange
Property. [Experimental] The onvrdisplaypresentchange property of the `web.Window` interface an event handler that will run when the presenting state of a display changes — i.e. goes from presenting to not presenting, vice versa (when the vrdisplaypresentchange event fires). `window.onvrdisplaypresentchange = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange`
(set-onwheel! this val)
Property.
The onwheel property of the web.dom.GlobalEventHandlers
mixin
an EventHandler
that processes wheel events.
target.onwheel = functionRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onwheel
Property. The onwheel property of the `web.dom.GlobalEventHandlers` mixin an `EventHandler` that processes wheel events. `target.onwheel = functionRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onwheel`
(set-opener! this val)
Property.
The web.Window
interface's opener property returns a reference
the window that opened the window using open()
.
openerWindow = window.opener;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/opener
Property. The `web.Window` interface's opener property returns a reference the window that opened the window using `open()`. `openerWindow = window.opener;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/opener`
(set-pkcs11! this val)
Property.
[Obsolute]
Returns the pkcs11 object, which is used to install drivers and software associated with the pkcs11 protocol. If pkcs11 isn't this property returns null.
objRef = window.pkcs11
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/pkcs11
Property. [Obsolute] Returns the pkcs11 object, which is used to install drivers and software associated with the pkcs11 protocol. If pkcs11 isn't this property returns null. `objRef = window.pkcs11` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/pkcs11`
(set-resizable this & args)
Method.
Toggles a user's ability to resize a window.
Method. Toggles a user's ability to resize a window.
(set-return-value! this val)
Property.
The return value to be returned to the function that called window.showModalDialog() display the window as a modal dialog.
Property. The return value to be returned to the function that called window.showModalDialog() display the window as a modal dialog.
(set-session-storage! this val)
Property.
The sessionStorage property accesses a session web.storage.Storage
for the current origin. sessionStorage is similar to localStorage
;
difference is that while data in localStorage doesn't expire,
in sessionStorage is cleared when the page session ends.
`// Save data to sessionStorage sessionStorage.setItem('key', 'value');
// Get saved data from sessionStorage let data = sessionStorage.getItem('key');
// Remove saved data from sessionStorage sessionStorage.removeItem('key');
// Remove all saved data from sessionStorage sessionStorage.clear();`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage
Property. The sessionStorage property accesses a session `web.storage.Storage` for the current origin. sessionStorage is similar to `localStorage`; difference is that while data in localStorage doesn't expire, in sessionStorage is cleared when the page session ends. `// Save data to sessionStorage sessionStorage.setItem('key', 'value'); // Get saved data from sessionStorage let data = sessionStorage.getItem('key'); // Remove saved data from sessionStorage sessionStorage.removeItem('key'); // Remove all saved data from sessionStorage sessionStorage.clear();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage`
(set-status! this val)
Property.
The status property of the web.Window
interface sets the text
the status bar at the bottom of the browser or returns the previously
text.
window.status = string; var value = window.status;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/status
Property. The status property of the `web.Window` interface sets the text the status bar at the bottom of the browser or returns the previously text. `window.status = string; var value = window.status;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/status`
(set-timeout this & args)
Method.
The setTimeout() method of the web.WindowOrWorkerGlobalScope
(and successor to Window.setTimeout()) sets a timer which executes
function or specified piece of code once the timer expires.
var timeoutID = scope.setTimeout(function[, delay, arg1, arg2, ...]); var timeoutID = scope.setTimeout(function[, delay]); var timeoutID = scope.setTimeout(code[, delay]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout
Method. The setTimeout() method of the `web.WindowOrWorkerGlobalScope` (and successor to Window.setTimeout()) sets a timer which executes function or specified piece of code once the timer expires. `var timeoutID = scope.setTimeout(function[, delay, arg1, arg2, ...]); var timeoutID = scope.setTimeout(function[, delay]); var timeoutID = scope.setTimeout(code[, delay]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout`
(set-window-state! this val)
Property.
The windowState read-only property of the Window interface returns window's current state.
Property. The windowState read-only property of the Window interface returns window's current state.
(show-modal-dialog this & args)
Method.
[Obsolute]
The Window.showModalDialog() creates and displays a modal dialog containing a specified HTML document.
`returnVal = window.showModalDialog(uri[, arguments][, options]);
where
returnVal is a variant, indicating the returnValue property as set by the window of the document specified by uri. uri is the URI of the document to display in the dialog box. arguments is an optional variant that contains values that should be passed to the dialog box; these are made available in the window object's window.dialogArguments property. options an optional string that specifies window ornamentation for the dialog box, using one or more semicolon delimited values:
Syntax Description
center: {on | off | yes | no | 1 | 0 } If this argument's value is on, yes, or 1, the dialog window is centered on the desktop; otherwise it's hidden. The default value is yes.
dialogheight: height Specifies the height of the dialog box; by default, the size is specified in pixels.
dialogleft: left Specifies the horizontal position of the dialog box in relation to the upper-left corner of the desktop.
dialogwidth: width Specifies the width of the dialog box; by default, the size is specified in pixels.
dialogtop: top Specifies the vertical position of the dialog box in relation to the upper-left corner of the desktop.
resizable: {on | off | yes | no | 1 | 0 } If this argument's value is on, yes, or 1, the dialog window can be resized by the user; otherwise its size is fixed. The default value is no.
scroll: {on | off | yes | no | 1 | 0 } If this argument's value is on, yes, or 1, the dialog window has scroll bars; otherwise its size is fixed. The default value is no.
Note: Firefox does not implement the dialogHide, edge, status, or unadorned arguments.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/showModalDialog
Method. [Obsolute] The Window.showModalDialog() creates and displays a modal dialog containing a specified HTML document. `returnVal = window.showModalDialog(uri[, arguments][, options]); where returnVal is a variant, indicating the returnValue property as set by the window of the document specified by uri. uri is the URI of the document to display in the dialog box. arguments is an optional variant that contains values that should be passed to the dialog box; these are made available in the window object's window.dialogArguments property. options an optional string that specifies window ornamentation for the dialog box, using one or more semicolon delimited values: Syntax Description center: {on | off | yes | no | 1 | 0 } If this argument's value is on, yes, or 1, the dialog window is centered on the desktop; otherwise it's hidden. The default value is yes. dialogheight: height Specifies the height of the dialog box; by default, the size is specified in pixels. dialogleft: left Specifies the horizontal position of the dialog box in relation to the upper-left corner of the desktop. dialogwidth: width Specifies the width of the dialog box; by default, the size is specified in pixels. dialogtop: top Specifies the vertical position of the dialog box in relation to the upper-left corner of the desktop. resizable: {on | off | yes | no | 1 | 0 } If this argument's value is on, yes, or 1, the dialog window can be resized by the user; otherwise its size is fixed. The default value is no. scroll: {on | off | yes | no | 1 | 0 } If this argument's value is on, yes, or 1, the dialog window has scroll bars; otherwise its size is fixed. The default value is no. Note: Firefox does not implement the dialogHide, edge, status, or unadorned arguments.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/showModalDialog`
(sidebar this)
Property.
[Read Only] [Non Standard]
Returns a sidebar object, which contains several methods for add-ons with the browser.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/sidebar
Property. [Read Only] [Non Standard] Returns a sidebar object, which contains several methods for add-ons with the browser. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/sidebar`
(size-to-content this)
Method.
[Non Standard]
The Window.sizeToContent() method sizes the window according its content. In order for it to work, the DOM content should loaded when this function is called—for example, once the DOMContentLoaded has been thrown.
window.sizeToContent()
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/sizeToContent
Method. [Non Standard] The Window.sizeToContent() method sizes the window according its content. In order for it to work, the DOM content should loaded when this function is called—for example, once the DOMContentLoaded has been thrown. `window.sizeToContent()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/sizeToContent`
(speech-synthesis this)
Property.
[Read Only] [Experimental]
The speechSynthesis read-only property of the Window object returns
web.speech.SpeechSynthesis
object, which is the entry point
using Web Speech API speech synthesis functionality.
var synth = window.speechSynthesis;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/speechSynthesis
Property. [Read Only] [Experimental] The speechSynthesis read-only property of the Window object returns `web.speech.SpeechSynthesis` object, which is the entry point using Web Speech API speech synthesis functionality. `var synth = window.speechSynthesis;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/speechSynthesis`
(status this)
Property.
The status property of the web.Window
interface sets the text
the status bar at the bottom of the browser or returns the previously
text.
window.status = string; var value = window.status;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/status
Property. The status property of the `web.Window` interface sets the text the status bar at the bottom of the browser or returns the previously text. `window.status = string; var value = window.status;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/status`
(statusbar this)
Property.
[Read Only]
The Window.statusbar property returns the statusbar object, whose can be toggled in the window.
objRef = window.statusbar
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/statusbar
Property. [Read Only] The Window.statusbar property returns the statusbar object, whose can be toggled in the window. `objRef = window.statusbar` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/statusbar`
(stop this)
Method.
The window.stop() stops further resource loading in the current context, equivalent to the stop button in the browser.
window.stop()
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/stop
Method. The window.stop() stops further resource loading in the current context, equivalent to the stop button in the browser. `window.stop()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/stop`
(toolbar this)
Property.
[Read Only]
The Window.toolbar property returns the toolbar object, whose can be toggled in the window.
objRef = window.toolbar
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/toolbar
Property. [Read Only] The Window.toolbar property returns the toolbar object, whose can be toggled in the window. `objRef = window.toolbar` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/toolbar`
(top this)
Property.
[Read Only]
Returns a reference to the topmost window in the window hierarchy.
var topWindow = window.top;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/top
Property. [Read Only] Returns a reference to the topmost window in the window hierarchy. `var topWindow = window.top;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/top`
(update-commands this & args)
Method.
[Non Standard]
Updates the state of commands of the current chrome window (UI).
window.updateCommands(\"sCommandName\")
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/updateCommands
Method. [Non Standard] Updates the state of commands of the current chrome window (UI). `window.updateCommands(\"sCommandName\")` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/updateCommands`
(visual-viewport this)
Property.
[Read Only] [Experimental]
The visualViewport read-only property of the web.Window
interface
a web.viewport.VisualViewport
object representing the visual
for a given window.
var visualViewport = Window.visualViewport
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/visualViewport
Property. [Read Only] [Experimental] The visualViewport read-only property of the `web.Window` interface a `web.viewport.VisualViewport` object representing the visual for a given window. `var visualViewport = Window.visualViewport` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/visualViewport`
(window this)
Property.
[Read Only]
The window property of a web.Window
object points to the window
itself.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Window/window
Property. [Read Only] The window property of a `web.Window` object points to the window itself. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Window/window`
(window-state this)
Property.
The windowState read-only property of the Window interface returns window's current state.
Property. The windowState read-only property of the Window interface returns window's current state.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close