The Document interface represents any web page loaded in the and serves as an entry point into the web page's content, which the DOM tree.
The Document interface represents any web page loaded in the and serves as an entry point into the web page's content, which the DOM tree.
(active-element this)
Property.
[Read Only]
The activeElement read-only property of the web.Document
and
interfaces returns the web.Element
within the DOM or shadow
tree that currently has focus.
var element = DocumentOrShadowRoot.activeElement
See also: https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/activeElement
Property. [Read Only] The activeElement read-only property of the `web.Document` and interfaces returns the `web.Element` within the DOM or shadow tree that currently has focus. `var element = DocumentOrShadowRoot.activeElement` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/activeElement`
(adopt-node this external-node)
Method.
Document.adoptNode() transfers a node from another document into
method's document. The adopted node and its subtree is removed
its original document (if any), and its ownerDocument
is changed
the current document. The node can then be inserted into the
document.
node = document.adoptNode(externalNode);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptNode
Method. Document.adoptNode() transfers a node from another document into method's document. The adopted node and its subtree is removed its original document (if any), and its `ownerDocument` is changed the current document. The node can then be inserted into the document. `node = document.adoptNode(externalNode);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptNode`
(alink-color this)
Property.
[Deprecated]
Returns or sets the color of an active link in the document body. link is active during the time between mousedown and mouseup
`var color = document.alinkColor; document.alinkColor = color;
color is a string containing the name of the color (e.g., blue, darkblue, etc.) or the hexadecimal value of the color (e.g., #0000FF)`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/alinkColor
Property. [Deprecated] Returns or sets the color of an active link in the document body. link is active during the time between mousedown and mouseup `var color = document.alinkColor; document.alinkColor = color; color is a string containing the name of the color (e.g., blue, darkblue, etc.) or the hexadecimal value of the color (e.g., #0000FF)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/alinkColor`
(all this)
Property.
[Read Only] [Deprecated] [Draft]
The web.Document
interface's read-only all property returns
HTMLAllCollection
rooted at the document node. In other words,
returns the entire contents of the page.
var htmlAllCollection = document.all;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/all
Property. [Read Only] [Deprecated] [Draft] The `web.Document` interface's read-only all property returns `HTMLAllCollection` rooted at the document node. In other words, returns the entire contents of the page. `var htmlAllCollection = document.all;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/all`
(anchors this)
Property.
[Read Only] [Deprecated]
The anchors read-only property of the web.Document
interface
a list of all of the anchors in the document.
nodeList = document.anchors;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/anchors
Property. [Read Only] [Deprecated] The anchors read-only property of the `web.Document` interface a list of all of the anchors in the document. `nodeList = document.anchors;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/anchors`
(append this & args)
Method.
The ParentNode.append() method inserts a set of web.Node
objects
web.DOMString
objects after the last child of the ParentNode.
objects are inserted as equivalent web.Text
nodes.
[Throws, Unscopable] void ParentNode.append((Node or DOMString)... nodes);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/append
Method. The ParentNode.append() method inserts a set of `web.Node` objects `web.DOMString` objects after the last child of the ParentNode. objects are inserted as equivalent `web.Text` nodes. `[Throws, Unscopable] void ParentNode.append((Node or DOMString)... nodes);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/append`
(applets this)
Property.
[Read Only] [Deprecated]
The applets property of the web.Document
interface returns
list of the applets within a document.
var nodeList = document.applets;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/applets
Property. [Read Only] [Deprecated] The applets property of the `web.Document` interface returns list of the applets within a document. `var nodeList = document.applets;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/applets`
(bg-color this)
Property.
[Deprecated]
The deprecated bgColor property gets or sets the background color the current document.
color = document.bgColor document.bgColor =color
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/bgColor
Property. [Deprecated] The deprecated bgColor property gets or sets the background color the current document. `color = document.bgColor document.bgColor =color` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/bgColor`
(body this)
Property.
The Document.body property represents the <body>
or <frameset>
of the current document, or null if no such element exists.
var objRef = document.body; document.body = objRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/body
Property. The Document.body property represents the `<body>` or `<frameset>` of the current document, or null if no such element exists. `var objRef = document.body; document.body = objRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/body`
(capture-events this & args)
Method.
See Window.captureEvents.
Method. See Window.captureEvents.
(caret-position-from-point this & args)
Method.
[Experimental]
The caretPositionFromPoint() property of the web.shadow-dom.DocumentOrShadowRoot
returns a web.cssdom.CaretPosition
object, containing the DOM
along with the caret and caret's character offset within that
var caretPosition = document.caretPositionFromPoint(float x, float y);
See also: https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/caretPositionFromPoint
Method. [Experimental] The caretPositionFromPoint() property of the `web.shadow-dom.DocumentOrShadowRoot` returns a `web.cssdom.CaretPosition` object, containing the DOM along with the caret and caret's character offset within that `var caretPosition = document.caretPositionFromPoint(float x, float y);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/caretPositionFromPoint`
(caret-range-from-point this & args)
Method.
[Non Standard]
The caretRangeFromPoint() method of the web.Document
interface
a web.Range
object for the document fragment under the specified
var range = document.caretRangeFromPoint(float x, float y);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/caretRangeFromPoint
Method. [Non Standard] The caretRangeFromPoint() method of the `web.Document` interface a `web.Range` object for the document fragment under the specified `var range = document.caretRangeFromPoint(float x, float y);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/caretRangeFromPoint`
(character-set this)
Property.
[Read Only]
The Document.characterSet read-only property returns the character of the document that it's currently rendered with.
var string = document.characterSet;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/characterSet
Property. [Read Only] The Document.characterSet read-only property returns the character of the document that it's currently rendered with. `var string = document.characterSet;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/characterSet`
(charset this)
Property.
Alias of Document.characterSet. Use this property instead.
Property. Alias of Document.characterSet. Use this property instead.
(child-element-count this)
Property.
[Read Only]
The ParentNode.childElementCount read-only property returns an long representing the number of child elements of the given element.
`var count = node.childElementCount;
count
The return value, which is an unsigned long (simply an integer) type.
node
An object representing a web.Document
, web.DocumentFragment
, or web.Element
.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/childElementCount
Property. [Read Only] The ParentNode.childElementCount read-only property returns an long representing the number of child elements of the given element. `var count = node.childElementCount; count The return value, which is an unsigned long (simply an integer) type. node An object representing a `web.Document`, `web.DocumentFragment`, or `web.Element`.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/childElementCount`
(children this)
Property.
[Read Only]
The web.other.ParentNode
property children is a read-only property
returns a live web.HTMLCollection
which contains all of the
elements
of the node upon which it was called.
var children = node.children;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/children
Property. [Read Only] The `web.other.ParentNode` property children is a read-only property returns a live `web.HTMLCollection` which contains all of the `elements` of the node upon which it was called. `var children = node.children;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/children`
(clear this)
Method.
[Deprecated]
The Document.clear() method clears the whole specified document early (pre-1.0) versions of Mozilla.
document.clear();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/clear
Method. [Deprecated] The Document.clear() method clears the whole specified document early (pre-1.0) versions of Mozilla. `document.clear();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/clear`
(close this)
Method.
The Document.close() method finishes writing to a document, opened
Document.open()
.
document.close();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/close
Method. The Document.close() method finishes writing to a document, opened `Document.open()`. `document.close();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/close`
(compat-mode this)
Property.
[Read Only]
The Document.compatMode property indicates whether the document rendered in Quirks mode or Standards mode.
mode = document.compatMode;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/compatMode
Property. [Read Only] The Document.compatMode property indicates whether the document rendered in Quirks mode or Standards mode. `mode = document.compatMode;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/compatMode`
(constructor & args)
Constructor.
The Document constructor creates a new web.Document
object that is a web page loaded in the browser and serving as an entry point into the page's content.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/Document
Constructor. The Document constructor creates a new `web.Document` object that is a web page loaded in the browser and serving as an entry point into the page's content. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/Document`
(content-type this)
Property.
[Read Only]
The Document.contentType read-only property returns the MIME that the document is being rendered as. This may come from HTTP or other sources of MIME information, and might be affected by type conversions performed by either the browser or extensions.
contentType = document.contentType;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/contentType
Property. [Read Only] The Document.contentType read-only property returns the MIME that the document is being rendered as. This may come from HTTP or other sources of MIME information, and might be affected by type conversions performed by either the browser or extensions. `contentType = document.contentType;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/contentType`
(cookie this)
Property.
The web.Document
property cookie lets you read and write cookies
with the document. It serves as a getter and setter for the actual
of the cookies.
``
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie
Property. The `web.Document` property cookie lets you read and write cookies with the document. It serves as a getter and setter for the actual of the cookies. `` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie`
(create-attribute this name)
Method.
The Document.createAttribute() method creates a new attribute
and returns it. The object created a node implementing the web.Attr
The DOM does not enforce what sort of attributes can be added
a particular element in this manner.
attribute = document.createAttribute(name)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttribute
Method. The Document.createAttribute() method creates a new attribute and returns it. The object created a node implementing the `web.Attr` The DOM does not enforce what sort of attributes can be added a particular element in this manner. `attribute = document.createAttribute(name)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttribute`
(create-attribute-ns this & args)
Method.
Creates a new attribute node in a given namespace and returns
Method. Creates a new attribute node in a given namespace and returns
(create-cdata-section this & args)
Method.
createCDATASection() creates a new CDATA section node, and returns
`var CDATASectionNode = document.createCDATASection(data);
CDATASectionNode is a CDATA Section node. data is a string containing the data to be added to the CDATA Section.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createCDATASection
Method. createCDATASection() creates a new CDATA section node, and returns `var CDATASectionNode = document.createCDATASection(data); CDATASectionNode is a CDATA Section node. data is a string containing the data to be added to the CDATA Section.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createCDATASection`
(create-comment this data)
Method.
createComment() creates a new comment node, and returns it.
CommentNode = document.createComment(data);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment
Method. createComment() creates a new comment node, and returns it. `CommentNode = document.createComment(data);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment`
(create-document-fragment this & args)
Method.
Creates a new empty web.DocumentFragment
.
`var fragment = document.createDocumentFragment();
fragment is a reference to an empty web.DocumentFragment
object.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment
Method. Creates a new empty `web.DocumentFragment`. `var fragment = document.createDocumentFragment(); fragment is a reference to an empty `web.DocumentFragment` object.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment`
(create-element this & args)
Method.
In an HTML document, the document.createElement() method creates
HTML element specified by tagName, or an web.dom.HTMLUnknownElement
tagName isn't recognized.
var element = document.createElement(tagName[, options]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement
Method. In an HTML document, the document.createElement() method creates HTML element specified by tagName, or an `web.dom.HTMLUnknownElement` tagName isn't recognized. `var element = document.createElement(tagName[, options]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement`
(create-element-ns this & args)
Method.
Creates an element with the specified namespace URI and qualified
var element = document.createElementNS(namespaceURI, qualifiedName[, options]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS
Method. Creates an element with the specified namespace URI and qualified `var element = document.createElementNS(namespaceURI, qualifiedName[, options]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS`
(create-entity-reference this & args)
Method.
[Obsolute]
Prior to Gecko 7.0 this method showed up as present, due to bug 9850, it always only returned null. The only workaround is to a text node, CDATA section, attribute node value, etc. which the value referred to by the entity, using Unicode escape sequences fromCharCode() as necessary.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createEntityReference
Method. [Obsolute] Prior to Gecko 7.0 this method showed up as present, due to bug 9850, it always only returned null. The only workaround is to a text node, CDATA section, attribute node value, etc. which the value referred to by the entity, using Unicode escape sequences fromCharCode() as necessary. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createEntityReference`
(create-event this & args)
Method.
Creates an event of the type specified. The returned object should
first initialized and can then be passed to EventTarget.dispatchEvent
.
`var event = document.createEvent(type);
event is the created Event object. type is a string that represents the type of event to be created. Possible event types include "UIEvents", "MouseEvents", "MutationEvents", and "HTMLEvents". See Notes section for details.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent
Method. Creates an event of the type specified. The returned object should first initialized and can then be passed to `EventTarget.dispatchEvent`. `var event = document.createEvent(type); event is the created Event object. type is a string that represents the type of event to be created. Possible event types include \"UIEvents\", \"MouseEvents\", \"MutationEvents\", and \"HTMLEvents\". See Notes section for details.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent`
(create-expression this xpath-text namespace-url-mapper)
Method.
This method compiles an web.xpath.XPathExpression
which can
be used for (repeated) evaluations.
xpathExpr = document.createExpression(xpathText, namespaceURLMapper);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression
Method. This method compiles an `web.xpath.XPathExpression` which can be used for (repeated) evaluations. `xpathExpr = document.createExpression(xpathText, namespaceURLMapper);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression`
(create-node-iterator this root what-to-show filter)
Method.
Returns a new NodeIterator object.
var nodeIterator = document.createNodeIterator(root, whatToShow, filter);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator
Method. Returns a new NodeIterator object. `var nodeIterator = document.createNodeIterator(root, whatToShow, filter);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator`
(create-ns-resolver this node)
Method.
Creates an XPathNSResolver which resolves namespaces with respect the definitions in scope for a specified node.
nsResolver = document.createNSResolver(node);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createNSResolver
Method. Creates an XPathNSResolver which resolves namespaces with respect the definitions in scope for a specified node. `nsResolver = document.createNSResolver(node);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createNSResolver`
(create-processing-instruction this target data)
Method.
createProcessingInstruction() generates a new processing instruction and returns it.
piNode = document.createProcessingInstruction(target, data)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createProcessingInstruction
Method. createProcessingInstruction() generates a new processing instruction and returns it. `piNode = document.createProcessingInstruction(target, data)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createProcessingInstruction`
(create-range this & args)
Method.
The Document.createRange() method returns a new web.Range
object.
`range = document.createRange();
range is the created web.Range
object.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createRange
Method. The Document.createRange() method returns a new `web.Range` object. `range = document.createRange(); range is the created `web.Range` object.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createRange`
(create-text-node this & args)
Method.
Creates a new web.Text
node. This method can be used to escape
characters.
`var text = document.createTextNode(data);
text is a web.Text
node.
data is a string containing the data to be put in the text node.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode
Method. Creates a new `web.Text` node. This method can be used to escape characters. `var text = document.createTextNode(data); text is a `web.Text` node. data is a string containing the data to be put in the text node.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode`
(create-touch this & args)
Method.
[Deprecated]
The Document.createTouch() method creates and returns a new web.other.Touch
var touch = DocumentTouch.createTouch(view, target, identifier, pageX, pageY, screenX, screenY);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createTouch
Method. [Deprecated] The Document.createTouch() method creates and returns a new `web.other.Touch` `var touch = DocumentTouch.createTouch(view, target, identifier, pageX, pageY, screenX, screenY);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createTouch`
(create-touch-list this & args)
Method.
[Deprecated]
The Document.createTouchList() method creates and returns a new object.
var list = DocumentTouch.createTouchList([touch1 [, touch2 [, ...]]]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createTouchList
Method. [Deprecated] The Document.createTouchList() method creates and returns a new object. `var list = DocumentTouch.createTouchList([touch1 [, touch2 [, ...]]]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createTouchList`
(create-tree-walker this & args)
Method.
The Document.createTreeWalker() creator method returns a newly
web.TreeWalker
object.
document.createTreeWalker(root, whatToShow[, filter[, entityReferenceExpansion]]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker
Method. The Document.createTreeWalker() creator method returns a newly `web.TreeWalker` object. `document.createTreeWalker(root, whatToShow[, filter[, entityReferenceExpansion]]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker`
(current-script this)
Property.
The Document.currentScript property returns the <script>
element
script is currently being processed and isn't a JavaScript module.
modules use import.meta instead.)
var curScriptElement = document.currentScript;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript
Property. The Document.currentScript property returns the `<script>` element script is currently being processed and isn't a JavaScript module. modules use import.meta instead.) `var curScriptElement = document.currentScript;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript`
(default-view this)
Property.
[Read Only]
In browsers, document.defaultView returns the window
object
with a document, or null if none is available.
`var win = document.defaultView;
This property is read-only.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/defaultView
Property. [Read Only] In browsers, document.defaultView returns the `window` object with a document, or null if none is available. `var win = document.defaultView; This property is read-only.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/defaultView`
(design-mode this)
Property.
document.designMode controls whether the entire document is editable. values are "on" and "off". According to the specification, property is meant to default to "off". Firefox follows this The earlier versions of Chrome and IE default to "inherit". in Chrome 43, the default is "off" and "inherit" is no longer In IE6-10, the value is capitalized.
var mode = document.designMode; document.designMode = \"on\" || \"off\";
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/designMode
Property. document.designMode controls whether the entire document is editable. values are \"on\" and \"off\". According to the specification, property is meant to default to \"off\". Firefox follows this The earlier versions of Chrome and IE default to \"inherit\". in Chrome 43, the default is \"off\" and \"inherit\" is no longer In IE6-10, the value is capitalized. `var mode = document.designMode; document.designMode = \"on\" || \"off\";` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/designMode`
(dir this)
Property.
[Read Only]
The Document.dir property is a web.DOMString
representing the
of the text of the document, whether left to right (default)
right to left. Possible values are 'rtl', right to left, and
left to right.
dirStr = document.dir; document.dir = dirStr;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/dir
Property. [Read Only] The Document.dir property is a `web.DOMString` representing the of the text of the document, whether left to right (default) right to left. Possible values are 'rtl', right to left, and left to right. `dirStr = document.dir; document.dir = dirStr;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/dir`
(doctype this)
Property.
[Read Only]
Returns the Document Type Declaration (DTD) associated with current
The returned object implements the web.DocumentType
interface.
DOMImplementation.createDocumentType()
to create a DocumentType.
`doctype = document.doctype;
doctype is a read-only property.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/doctype
Property. [Read Only] Returns the Document Type Declaration (DTD) associated with current The returned object implements the `web.DocumentType` interface. `DOMImplementation.createDocumentType()` to create a DocumentType. `doctype = document.doctype; doctype is a read-only property.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/doctype`
(document-element this)
Property.
[Read Only]
Document.documentElement returns the web.Element
that is the
element of the document
(for example, the <html>
element
HTML documents).
var element = document.documentElement;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/documentElement
Property. [Read Only] Document.documentElement returns the `web.Element` that is the element of the `document` (for example, the `<html>` element HTML documents). `var element = document.documentElement;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/documentElement`
(document-uri this)
Property.
[Read Only]
The documentURI property of the web.Document
interface returns
document location as a string.
var string = document.documentURI;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/documentURI
Property. [Read Only] The documentURI property of the `web.Document` interface returns document location as a string. `var string = document.documentURI;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/documentURI`
(document-uri-object this)
Property.
[Read Only] [Non Standard]
The Document.documentURIObject read-only property returns an object representing the URI of the document.
var uri = document.documentURIObject;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/documentURIObject
Property. [Read Only] [Non Standard] The Document.documentURIObject read-only property returns an object representing the URI of the document. `var uri = document.documentURIObject;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/documentURIObject`
(dom-config this)
Property.
[Deprecated]
This should return the DOMConfiguration for the document.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/domConfig
Property. [Deprecated] This should return the DOMConfiguration for the document. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/domConfig`
(domain this)
Property.
The domain property of the web.Document
interface gets/sets
domain portion of the origin of the current document, as used
the same origin policy.
var domainString = document.domain; document.domain = domainString;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/domain
Property. The domain property of the `web.Document` interface gets/sets domain portion of the origin of the current document, as used the same origin policy. `var domainString = document.domain; document.domain = domainString;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/domain`
(element-from-point this x y)
Method.
The elementFromPoint() method—available on both the web.Document
web.shadow-dom.ShadowRoot
objects—returns the topmost web.Element
the specified coordinates (relative to the viewport).
var element = document.elementFromPoint(x, y);
See also: https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/elementFromPoint
Method. The elementFromPoint() method—available on both the `web.Document` `web.shadow-dom.ShadowRoot` objects—returns the topmost `web.Element` the specified coordinates (relative to the viewport). `var element = document.elementFromPoint(x, y);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/elementFromPoint`
(elements-from-point this x y)
Method.
[Experimental]
The elementsFromPoint() property of the web.shadow-dom.DocumentOrShadowRoot
returns an array of all elements at the specified coordinates
to the viewport).
var elements = document.elementsFromPoint(x, y);
See also: https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/elementsFromPoint
Method. [Experimental] The elementsFromPoint() property of the `web.shadow-dom.DocumentOrShadowRoot` returns an array of all elements at the specified coordinates to the viewport). `var elements = document.elementsFromPoint(x, y);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/elementsFromPoint`
(embeds this)
Property.
[Read Only]
The embeds read-only property of the web.Document
interface
a list of the embedded <object>
elements within the current
nodeList = document.embeds
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/embeds
Property. [Read Only] The embeds read-only property of the `web.Document` interface a list of the embedded `<object>` elements within the current `nodeList = document.embeds` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/embeds`
(enable-style-sheets-for-set this name)
Method.
Enables the style sheets matching the specified name in the current sheet set, and disables all other style sheets (except those a title, which are always enabled).
document.enableStyleSheetsForSet(name);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/enableStyleSheetsForSet
Method. Enables the style sheets matching the specified name in the current sheet set, and disables all other style sheets (except those a title, which are always enabled). `document.enableStyleSheetsForSet(name);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/enableStyleSheetsForSet`
(evaluate this & args)
Method.
Returns an web.xpath.XPathResult
based on an XPath expression
other given parameters.
`var xpathResult = document.evaluate( xpathExpression, contextNode, namespaceResolver, resultType, result );
\txpathExpression is a string representing the XPath to be evaluated. \tcontextNode specifies the context node for the query (see the XPath specification). It's common to pass document as the context node. \tnamespaceResolver is a function that will be passed any namespace prefixes and should return a string representing the namespace URI associated with that prefix. It will be used to resolve prefixes within the XPath itself, so that they can be matched with the document. null is common for HTML documents or when no namespace prefixes are used. \tresultType is an integer that corresponds to the type of result XPathResult to return. Use named constant properties, such as XPathResult.ANY_TYPE, of the XPathResult constructor, which correspond to integers from 0 to 9. \tresult is an existing XPathResult to use for the results. null is the most common and will create a new XPathResult`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate
Method. Returns an `web.xpath.XPathResult` based on an XPath expression other given parameters. `var xpathResult = document.evaluate( xpathExpression, contextNode, namespaceResolver, resultType, result ); \txpathExpression is a string representing the XPath to be evaluated. \tcontextNode specifies the context node for the query (see the XPath specification). It's common to pass document as the context node. \tnamespaceResolver is a function that will be passed any namespace prefixes and should return a string representing the namespace URI associated with that prefix. It will be used to resolve prefixes within the XPath itself, so that they can be matched with the document. null is common for HTML documents or when no namespace prefixes are used. \tresultType is an integer that corresponds to the type of result XPathResult to return. Use named constant properties, such as XPathResult.ANY_TYPE, of the XPathResult constructor, which correspond to integers from 0 to 9. \tresult is an existing XPathResult to use for the results. null is the most common and will create a new XPathResult` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate`
(exec-command this a-command-name a-show-default-ui a-value-argument)
Method.
When an HTML document has been switched to designMode, its document exposes an execCommand method to run commands that manipulate current editable region, such as form inputs or contentEditable
document.execCommand(aCommandName, aShowDefaultUI, aValueArgument)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand
Method. When an HTML document has been switched to designMode, its document exposes an execCommand method to run commands that manipulate current editable region, such as form inputs or contentEditable `document.execCommand(aCommandName, aShowDefaultUI, aValueArgument)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand`
(exit-fullscreen this)
Method.
The web.Document
method exitFullscreen() requests that the
on this document which is currently being presented in full-screen
be taken out of full-screen mode, restoring the previous state
the screen.
exitPromise = document.exitFullscreen();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/exitFullscreen
Method. The `web.Document` method exitFullscreen() requests that the on this document which is currently being presented in full-screen be taken out of full-screen mode, restoring the previous state the screen. `exitPromise = document.exitFullscreen();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/exitFullscreen`
(exit-pointer-lock this)
Method.
[Experimental]
The exitPointerLock() method asynchronously releases a pointer
previously requested through Element.requestPointerLock
.
document.exitPointerLock();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/exitPointerLock
Method. [Experimental] The exitPointerLock() method asynchronously releases a pointer previously requested through `Element.requestPointerLock`. `document.exitPointerLock();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/exitPointerLock`
(feature-policy this)
Property.
[Read Only]
The featurePolicy read-only property of the web.Document
interface
the web.other.FeaturePolicy
interface which provides a simple
for inspecting the feature policies applied to a specific document.
var policy = iframeElement.featurePolicy
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/featurePolicy
Property. [Read Only] The featurePolicy read-only property of the `web.Document` interface the `web.other.FeaturePolicy` interface which provides a simple for inspecting the feature policies applied to a specific document. `var policy = iframeElement.featurePolicy` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/featurePolicy`
(fg-color this)
Property.
[Deprecated]
fgColor gets/sets the foreground color, or text color, of the document.
var color = document.fgColor; document.fgColor = color;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/fgColor
Property. [Deprecated] fgColor gets/sets the foreground color, or text color, of the document. `var color = document.fgColor; document.fgColor = color;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/fgColor`
(first-element-child this)
Property.
[Read Only]
The ParentNode.firstElementChild read-only property returns the
first child web.Element
, or null if there are no child elements.
var element = node.firstElementChild;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/firstElementChild
Property. [Read Only] The ParentNode.firstElementChild read-only property returns the first child `web.Element`, or null if there are no child elements. `var element = node.firstElementChild;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/firstElementChild`
(fonts this)
Property.
The fonts property of the web.Document
interface returns the
interface of the document.
let fontFaceSet = document.fonts;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/fonts
Property. The fonts property of the `web.Document` interface returns the interface of the document. `let fontFaceSet = document.fonts;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/fonts`
(forms this)
Property.
[Read Only]
The forms read-only property of the web.Document
interface
an web.HTMLCollection
listing all the <form>
elements contained
the document.
collection = document.forms;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/forms
Property. [Read Only] The forms read-only property of the `web.Document` interface an `web.HTMLCollection` listing all the `<form>` elements contained the document. `collection = document.forms;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/forms`
(fullscreen this)
Property.
[Read Only] [Deprecated]
The obsolete web.Document
interface's fullscreen read-only
reports whether or not the document is currently displaying content
full-screen mode.
var isFullScreen = document.fullscreen;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreen
Property. [Read Only] [Deprecated] The obsolete `web.Document` interface's fullscreen read-only reports whether or not the document is currently displaying content full-screen mode. `var isFullScreen = document.fullscreen;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreen`
(fullscreen-element this)
Property.
The element that's currently in full screen mode for this document.
Property. The element that's currently in full screen mode for this document.
(fullscreen-enabled this)
Property.
[Read Only]
The read-only fullscreenEnabled property on the web.Document
indicates whether or not full-screen mode is available.
var isFullscreenAvailable = document.fullscreenEnabled;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenEnabled
Property. [Read Only] The read-only fullscreenEnabled property on the `web.Document` indicates whether or not full-screen mode is available. `var isFullscreenAvailable = document.fullscreenEnabled;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenEnabled`
(get-animations this)
Method.
[Experimental]
The getAnimations() method of the web.Document
interface returns
array of all web.animation.Animation
objects currently in effect
target elements are descendants of the document. This array includes
Animations, CSS Transitions, and Web Animations.
var allAnimations = Document.getAnimations();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/getAnimations
Method. [Experimental] The getAnimations() method of the `web.Document` interface returns array of all `web.animation.Animation` objects currently in effect target elements are descendants of the document. This array includes Animations, CSS Transitions, and Web Animations. `var allAnimations = Document.getAnimations();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/getAnimations`
(get-box-object-for this & args)
Method.
[Obsolute]
Returns a boxObject (x, y, width, height) for a specified element.
`boxObject = document.getBoxObjectFor(element);
boxObject is an nsIBoxObject.
element is a DOMElement
.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/getBoxObjectFor
Method. [Obsolute] Returns a boxObject (x, y, width, height) for a specified element. `boxObject = document.getBoxObjectFor(element); boxObject is an nsIBoxObject. element is a `DOMElement`.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/getBoxObjectFor`
(get-element-by-id this id)
Method.
The web.Document
method getElementById() returns an web.Element
representing the element whose id
property matches the specified
Since element IDs are required to be unique if specified, they're
useful way to get access to a specific element quickly.
var element = document.getElementById(id);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById
Method. The `web.Document` method getElementById() returns an `web.Element` representing the element whose `id` property matches the specified Since element IDs are required to be unique if specified, they're useful way to get access to a specific element quickly. `var element = document.getElementById(id);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById`
(get-elements-by-class-name this & args)
Method.
returns an array-like object of all child elements which have of the given class names.
`var elements = document.getElementsByClassName(names); // or: var elements = rootElement.getElementsByClassName(names);
elements is a live web.HTMLCollection
of found elements.
names is a string representing the list of class names to match; class names are separated by whitespace
getElementsByClassName
can be called on any element, not only on the document
. The element on which it is called will be used as the root of the search.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName
Method. returns an array-like object of all child elements which have of the given class names. `var elements = document.getElementsByClassName(names); // or: var elements = rootElement.getElementsByClassName(names); elements is a live `web.HTMLCollection` of found elements. names is a string representing the list of class names to match; class names are separated by whitespace `getElementsByClassName` can be called on any element, not only on the `document`. The element on which it is called will be used as the root of the search.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName`
(get-elements-by-name this & args)
Method.
The getElementsByName() method of the web.Document
object returns
web.NodeList
Collection of elements with a given name
in
document.
`var elements = document.getElementsByName(name);
elements is a live web.NodeList
Collection, meaning it automatically updates as new elements with the same name are added to/removed from the document.
name is the value of the name attribute of the element(s).`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByName
Method. The getElementsByName() method of the `web.Document` object returns `web.NodeList` Collection of elements with a given `name` in document. `var elements = document.getElementsByName(name); elements is a live `web.NodeList` Collection, meaning it automatically updates as new elements with the same name are added to/removed from the document. name is the value of the name attribute of the element(s).` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByName`
(get-elements-by-tag-name this & args)
Method.
returns an web.HTMLCollection
of elements with the given tag
`var elements = document.getElementsByTagName(name);
elements is a live web.HTMLCollection
(but see the note below) of found elements in the order they appear in the tree.
name is a string representing the name of the elements. The special string "*" represents all elements.
The latest W3C specification says elements is an HTMLCollection; however, this method returns a web.NodeList
in WebKit browsers. See bug 14869 for details.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagName
Method. returns an `web.HTMLCollection` of elements with the given tag `var elements = document.getElementsByTagName(name); elements is a live `web.HTMLCollection` (but see the note below) of found elements in the order they appear in the tree. name is a string representing the name of the elements. The special string \"*\" represents all elements. The latest W3C specification says elements is an HTMLCollection; however, this method returns a `web.NodeList` in WebKit browsers. See bug 14869 for details.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagName`
(get-elements-by-tag-name-ns this & args)
Method.
Returns a list of elements with the given tag name belonging the given namespace. The complete document is searched, including root node.
`elements = document.getElementsByTagNameNS(namespace, name)
elements is a live web.NodeList
(but see the note below) of found elements in the order they appear in the tree.
namespace is the namespace URI of elements to look for (see element.namespaceURI
).
name is either the local name of elements to look for or the special value *, which matches all elements (see element.localName
).
Note: While the W3C specification says elements is a NodeList, this method returns a web.HTMLCollection
both in Gecko and Internet Explorer. Opera returns a NodeList, but with a namedItem method implemented, which makes it similar to a HTMLCollection. As of January 2012, only in WebKit browsers is the returned value a pure NodeList. See bug 14869 for details.
Note: Currently parameters in this method are case-sensitive, but they were case-insensitive in Firefox 3.5 and before. See the developer release note for Firefox 3.6 and a note in Browser compatibility section in Element.getElementsByTagNameNS
for details.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagNameNS
Method. Returns a list of elements with the given tag name belonging the given namespace. The complete document is searched, including root node. `elements = document.getElementsByTagNameNS(namespace, name) elements is a live `web.NodeList` (but see the note below) of found elements in the order they appear in the tree. namespace is the namespace URI of elements to look for (see `element.namespaceURI`). name is either the local name of elements to look for or the special value *, which matches all elements (see `element.localName`). Note: While the W3C specification says elements is a NodeList, this method returns a `web.HTMLCollection` both in Gecko and Internet Explorer. Opera returns a NodeList, but with a namedItem method implemented, which makes it similar to a HTMLCollection. As of January 2012, only in WebKit browsers is the returned value a pure NodeList. See bug 14869 for details. Note: Currently parameters in this method are case-sensitive, but they were case-insensitive in Firefox 3.5 and before. See the developer release note for Firefox 3.6 and a note in Browser compatibility section in `Element.getElementsByTagNameNS` for details.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagNameNS`
(get-selection this)
Method.
[Experimental]
The getSelection() property of the web.shadow-dom.DocumentOrShadowRoot
returns a web.other.Selection
object representing the range
text selected by the user, or the current position of the caret.
var selection = documentOrShadowRootInstance.getSelection()
See also: https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/getSelection
Method. [Experimental] The getSelection() property of the `web.shadow-dom.DocumentOrShadowRoot` returns a `web.other.Selection` object representing the range text selected by the user, or the current position of the caret. `var selection = documentOrShadowRootInstance.getSelection()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/getSelection`
(has-focus this)
Method.
The hasFocus() method of the web.Document
interface returns
js.Boolean
value indicating whether the document or any element
the document has focus. This method can be used to determine
the active element in a document has focus.
var focused = document.hasFocus();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus
Method. The hasFocus() method of the `web.Document` interface returns `js.Boolean` value indicating whether the document or any element the document has focus. This method can be used to determine the active element in a document has focus. `var focused = document.hasFocus();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus`
(has-storage-access this)
Method.
The hasStorageAccess() method of the web.Document
interface
a js.Promise
that resolves with a boolean value indicating
the document has access to its first-party storage.
Promise<boolean> hasStorageAccess()
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/hasStorageAccess
Method. The hasStorageAccess() method of the `web.Document` interface a `js.Promise` that resolves with a boolean value indicating the document has access to its first-party storage. `Promise<boolean> hasStorageAccess()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/hasStorageAccess`
(head this)
Property.
[Read Only]
The head read-only property of the web.Document
interface returns
<head>
element of the current document.
var objRef = document.head;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/head
Property. [Read Only] The head read-only property of the `web.Document` interface returns `<head>` element of the current document. `var objRef = document.head;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/head`
(height this)
Property.
[Obsolute]
Returns the height of the document
object. In most cases, this
equal to the <body>
element of the current document.
pixels = document.height
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/height
Property. [Obsolute] Returns the height of the `document` object. In most cases, this equal to the `<body>` element of the current document. `pixels = document.height` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/height`
(hidden this)
Property.
[Read Only]
The Document.hidden read-only property returns a Boolean value if the page is considered hidden or not.
var boolean = document.hidden
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/hidden
Property. [Read Only] The Document.hidden read-only property returns a Boolean value if the page is considered hidden or not. `var boolean = document.hidden` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/hidden`
(images this)
Property.
[Read Only]
The images read-only property of the web.Document
interface
a collection of the images in the current HTML document.
var imageCollection = document.images;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/images
Property. [Read Only] The images read-only property of the `web.Document` interface a collection of the images in the current HTML document. `var imageCollection = document.images;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/images`
(implementation this)
Property.
[Read Only]
The Document.implementation property returns a web.DOMImplementation
associated with the current document.
DOMImpObj = document.implementation;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/implementation
Property. [Read Only] The Document.implementation property returns a `web.DOMImplementation` associated with the current document. `DOMImpObj = document.implementation;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/implementation`
(import-node this & args)
Method.
The web.Document
object's importNode() method creates a copy
a web.Node
or web.DocumentFragment
from another document,
be inserted into the current document later.
`var node = document.importNode(externalNode, deep);
node
The copied node in the scope of the importing document. The new node's Node.parentNode
is null, since it has not yet been inserted into the document tree.
externalNode
The external Node or DocumentFragment to import into the current document.
deep
A Boolean which controls whether or not to import the entire DOM subtree of the externalNode.
If deep is set to true, then externalNode and all of its descendants are copied. If deep is set to false, then only externalNode is imported — the new node has no children.
Note: In the DOM4 specification, deep was an optional argument with a default value of true.
This default has changed in the latest spec — the new default value is false. Though it's still an optional argument, you should always provide the deep argument for backward and forward compatibility. With Gecko 28.0 (Firefox 28 / Thunderbird 28 / SeaMonkey 2.25 / Firefox OS 1.3), the console warns developers not to omit the argument. Starting with Gecko 29.0 (Firefox 29 / Thunderbird 29 / SeaMonkey 2.26)), a shallow clone is defaulted instead of a deep clone.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode
Method. The `web.Document` object's importNode() method creates a copy a `web.Node` or `web.DocumentFragment` from another document, be inserted into the current document later. `var node = document.importNode(externalNode, deep); node The copied node in the scope of the importing document. The new node's `Node.parentNode` is null, since it has not yet been inserted into the document tree. externalNode The external Node or DocumentFragment to import into the current document. deep A Boolean which controls whether or not to import the entire DOM subtree of the externalNode. If deep is set to true, then externalNode and all of its descendants are copied. If deep is set to false, then only externalNode is imported — the new node has no children. Note: In the DOM4 specification, deep was an optional argument with a default value of true. This default has changed in the latest spec — the new default value is false. Though it's still an optional argument, you should always provide the deep argument for backward and forward compatibility. With Gecko 28.0 (Firefox 28 / Thunderbird 28 / SeaMonkey 2.25 / Firefox OS 1.3), the console warns developers not to omit the argument. Starting with Gecko 29.0 (Firefox 29 / Thunderbird 29 / SeaMonkey 2.26)), a shallow clone is defaulted instead of a deep clone.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode`
(input-encoding this)
Property.
Alias of Document.characterSet. Use this property instead.
Property. Alias of Document.characterSet. Use this property instead.
(last-element-child this)
Property.
[Read Only]
The ParentNode.lastElementChild read-only property returns the
last child web.Element
or null if there are no child elements.
var element = node.lastElementChild;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/lastElementChild
Property. [Read Only] The ParentNode.lastElementChild read-only property returns the last child `web.Element` or null if there are no child elements. `var element = node.lastElementChild;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/lastElementChild`
(last-modified this)
Property.
[Read Only]
The lastModified property of the web.Document
interface returns
string containing the date and time on which the current document
last modified.
var string = document.lastModified;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/lastModified
Property. [Read Only] The lastModified property of the `web.Document` interface returns string containing the date and time on which the current document last modified. `var string = document.lastModified;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/lastModified`
(last-style-sheet-set this)
Property.
[Read Only]
The Document.lastStyleSheetSet property returns the last enabled
sheet set. This property's value changes whenever the document.selectedStyleSheetSet
is changed.
`var lastStyleSheetSet = document.lastStyleSheetSet
On return, lastStyleSheetSet indicates the style sheet set that was most recently set. If the current style sheet set has not been changed by setting document.selectedStyleSheetSet
, the returned value is null.
Note: This value doesn't change when document.enableStyleSheetsForSet()
is called.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/lastStyleSheetSet
Property. [Read Only] The Document.lastStyleSheetSet property returns the last enabled sheet set. This property's value changes whenever the `document.selectedStyleSheetSet` is changed. `var lastStyleSheetSet = document.lastStyleSheetSet On return, lastStyleSheetSet indicates the style sheet set that was most recently set. If the current style sheet set has not been changed by setting `document.selectedStyleSheetSet`, the returned value is null. Note: This value doesn't change when `document.enableStyleSheetsForSet()` is called.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/lastStyleSheetSet`
(link-color this)
Property.
[Deprecated]
The Document.linkColor property gets/sets the color of links the document.
color = document.linkColor document.linkColor = color
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/linkColor
Property. [Deprecated] The Document.linkColor property gets/sets the color of links the document. `color = document.linkColor document.linkColor = color` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/linkColor`
(links this)
Property.
[Read Only]
The links read-only property of the web.Document
interface
a collection of all <area>
elements and <a>
elements in a
with a value for the href attribute.
nodeList = document.links
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/links
Property. [Read Only] The links read-only property of the `web.Document` interface a collection of all `<area>` elements and `<a>` elements in a with a value for the href attribute. `nodeList = document.links` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/links`
(location this)
Property.
[Read Only]
The Document.location read-only property returns a web.dom.Location
which contains information about the URL of the document and
methods for changing that URL and loading another URL.
locationObj = document.location document.location = 'http://www.mozilla.org' // Equivalent to document.location.href = 'http://www.mozilla.org'
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/location
Property. [Read Only] The Document.location read-only property returns a `web.dom.Location` which contains information about the URL of the document and methods for changing that URL and loading another URL. `locationObj = document.location document.location = 'http://www.mozilla.org' // Equivalent to document.location.href = 'http://www.mozilla.org'` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/location`
(moz-set-image-element this image-element-id image-element)
Method.
[Non Standard]
The Document.mozSetImageElement() method changes the element used as the CSS background for a background with a given background ID.
document.mozSetImageElement(imageElementId, imageElement);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/mozSetImageElement
Method. [Non Standard] The Document.mozSetImageElement() method changes the element used as the CSS background for a background with a given background ID. `document.mozSetImageElement(imageElementId, imageElement);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/mozSetImageElement`
(moz-synthetic-document this)
Property.
[Non Standard]
The Document.mozSyntheticDocument property indicates whether not the document is a synthetic one; that is, a document representing standalone image, video, audio, or the like.
`var isSynthetic = document.mozSyntheticDocument;
On return, isSynthetic is true if the document is a synthetic one; otherwise it's false.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/mozSyntheticDocument
Property. [Non Standard] The Document.mozSyntheticDocument property indicates whether not the document is a synthetic one; that is, a document representing standalone image, video, audio, or the like. `var isSynthetic = document.mozSyntheticDocument; On return, isSynthetic is true if the document is a synthetic one; otherwise it's false.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/mozSyntheticDocument`
(normalize-document this & args)
Method.
Replaces entities, normalizes text nodes, etc.
Method. Replaces entities, normalizes text nodes, etc.
(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`
(onafterscriptexecute this)
Property.
[Non Standard]
The Document.onafterscriptexecute property references a function
fires when a static <script>
element finishes executing its
It does not fire if the element is added dynamically, such as
appendChild()
.
`document.onafterscriptexecute = funcRef;
funcRef is a function reference, called when the event is fired. The event's target attribute is set to the <script>
element that just finished executing.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute
Property. [Non Standard] The Document.onafterscriptexecute property references a function fires when a static `<script>` element finishes executing its It does not fire if the element is added dynamically, such as `appendChild()`. `document.onafterscriptexecute = funcRef; funcRef is a function reference, called when the event is fired. The event's target attribute is set to the `<script>` element that just finished executing.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute`
(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`
(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`
(onbeforescriptexecute this)
Property.
[Non Standard]
Fired when the code in a <script>
element declared in an HTML
is about to start executing. Does not fire if the element is
dynamically, eg with appendChild().
`document.onbeforescriptexecute = funcRef;
funcRef is a function reference, called when the event is fired. The event's target attribute is set to the script web.Element
that is about to be executed.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute
Property. [Non Standard] Fired when the code in a `<script>` element declared in an HTML is about to start executing. Does not fire if the element is dynamically, eg with appendChild(). `document.onbeforescriptexecute = funcRef; funcRef is a function reference, called when the event is fired. The event's target attribute is set to the script `web.Element` that is about to be executed.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute`
(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
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` 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`
(oncopy this)
Property.
Represents the event handling code for the copy event.
Property. Represents the event handling code for the copy event.
(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`
(oncut this)
Property.
Represents the event handling code for the cut event.
Property. Represents the event handling code for the cut event.
(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`
(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`
(onfullscreenchange this)
Property.
The web.Document
interface's onfullscreenchange property is
event handler for the fullscreenchange event that is fired immediately
a document transitions into or out of full-screen mode.
targetDocument.onfullscreenchange = fullscreenChangeHandler;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange
Property. The `web.Document` interface's onfullscreenchange property is event handler for the fullscreenchange event that is fired immediately a document transitions into or out of full-screen mode. `targetDocument.onfullscreenchange = fullscreenChangeHandler;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange`
(onfullscreenerror this)
Property.
The Document.onfullscreenerror property is an event handler for
fullscreenerror event that is sent to the document when it fails
transition into full-screen mode after a prior call to Element.requestFullscreen()
.
targetDocument.onfullscreenerror = fullscreenErrorHandler;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror
Property. The Document.onfullscreenerror property is an event handler for fullscreenerror event that is sent to the document when it fails transition into full-screen mode after a prior call to `Element.requestFullscreen()`. `targetDocument.onfullscreenerror = fullscreenErrorHandler;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror`
(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`
(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`
(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`
(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`
(onoffline this)
Property.
The Document.onoffline event handler is called when an offline
fired on the <body>
element and bubbles up, when navigator.onLine
changes and becomes false.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onoffline
Property. The Document.onoffline event handler is called when an offline fired on the `<body>` element and bubbles up, when `navigator.onLine` changes and becomes false. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onoffline`
(ononline this)
Property.
The Document.online event is fired on the <body>
of each page
the browser switches between online and offline mode. Additionally,
events bubble up from document.body, to document, ending at window.
events are non-cancellable (you can't prevent the user from coming
or going offline).
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/ononline
Property. The Document.online event is fired on the `<body>` of each page the browser switches between online and offline mode. Additionally, events bubble up from document.body, to document, ending at window. events are non-cancellable (you can't prevent the user from coming or going offline). See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/ononline`
(onpaste this)
Property.
Represents the event handling code for the paste event.
Property. Represents the event handling code for the paste event.
(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`
(onreadystatechange this)
Property.
Represents the event handling code for the readystatechange event.
Property. Represents the event handling code for the readystatechange event.
(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.
Is an EventHandler representing the code to be called when the event is raised.
Property. Is an EventHandler representing the code to be called when the event is raised.
(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`
(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`
(onvisibilitychange this)
Property.
The Document.onvisibilitychange property represents the event that is called when a visibilitychange event reaches this object.
`obj.onvisibilitychange = function;
function is the name of a user-defined function, without the () suffix or any parameters, or an anonymous function declaration.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange
Property. The Document.onvisibilitychange property represents the event that is called when a visibilitychange event reaches this object. `obj.onvisibilitychange = function; function is the name of a user-defined function, without the () suffix or any parameters, or an anonymous function declaration.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange`
(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)
Method.
The Document.open() method opens a document for writing.
document.open();
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/open
Method. The Document.open() method opens a document for writing. `document.open();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/open`
(origin this)
Property.
[Read Only] [Experimental]
The Document.origin read-only property returns the document's In most cases, this property is equivalent to document.defaultView.location.origin.
var origin = document.origin;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/origin
Property. [Read Only] [Experimental] The Document.origin read-only property returns the document's In most cases, this property is equivalent to document.defaultView.location.origin. `var origin = document.origin;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/origin`
(plugins this)
Property.
[Read Only]
The plugins read-only property of the web.Document
interface
an web.HTMLCollection
object containing one or more web.dom.HTMLEmbedElement
s
the <embed>
elements in the current document.
embedArrayObj = document.plugins
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/plugins
Property. [Read Only] The plugins read-only property of the `web.Document` interface an `web.HTMLCollection` object containing one or more `web.dom.HTMLEmbedElement`s the `<embed>` elements in the current document. `embedArrayObj = document.plugins` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/plugins`
(pointer-lock-element this)
Property.
[Read Only]
The pointerLockElement property of the web.Document
and web.shadow-dom.ShadowRoot
provides the element set as the target for mouse events while
pointer is locked. It is null if lock is pending, pointer is
or the target is in another document.
var element = document.pointerLockElement;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/pointerLockElement
Property. [Read Only] The pointerLockElement property of the `web.Document` and `web.shadow-dom.ShadowRoot` provides the element set as the target for mouse events while pointer is locked. It is null if lock is pending, pointer is or the target is in another document. `var element = document.pointerLockElement;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/pointerLockElement`
(popup-node this)
Property.
[Deprecated]
When a popup attached via the popup or context attributes is the XUL document's popupNode property is set to the node that clicked on. This will be the target of the mouse event that activated popup. If the popup was opened via the keyboard, the popup node be set to null. Typically, this property will be checked during popupshowing event handler for a context menu to initialize the based on the context.
var node = document.popupNode;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/popupNode
Property. [Deprecated] When a popup attached via the popup or context attributes is the XUL document's popupNode property is set to the node that clicked on. This will be the target of the mouse event that activated popup. If the popup was opened via the keyboard, the popup node be set to null. Typically, this property will be checked during popupshowing event handler for a context menu to initialize the based on the context. `var node = document.popupNode;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/popupNode`
(preferred-style-sheet-set this)
Property.
[Read Only]
The preferredStyleSheetSet property returns the preferred style set as set by the page author.
`preferredStyleSheetSet = document.preferredStyleSheetSet
On return, preferredStyleSheetSet indicates the author's preferred style sheet set. This is determined from the order of style sheet declarations and the Default-Style HTTP header.
If there isn't a preferred style sheet set defined by the author, the empty string ("") is returned.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/preferredStyleSheetSet
Property. [Read Only] The preferredStyleSheetSet property returns the preferred style set as set by the page author. `preferredStyleSheetSet = document.preferredStyleSheetSet On return, preferredStyleSheetSet indicates the author's preferred style sheet set. This is determined from the order of style sheet declarations and the Default-Style HTTP header. If there isn't a preferred style sheet set defined by the author, the empty string (\"\") is returned.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/preferredStyleSheetSet`
(prepend this & args)
Method.
The ParentNode.prepend() method inserts a set of web.Node
objects
web.DOMString
objects before the first child of the web.other.ParentNode
.
objects are inserted as equivalent web.Text
nodes.
ParentNode.prepend(...nodesToPrepend);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/prepend
Method. The ParentNode.prepend() method inserts a set of `web.Node` objects `web.DOMString` objects before the first child of the `web.other.ParentNode`. objects are inserted as equivalent `web.Text` nodes. `ParentNode.prepend(...nodesToPrepend);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/prepend`
(query-command-enabled this & args)
Method.
The Document.queryCommandEnabled() method reports whether or the specified editor command is enabled by the browser.
`isEnabled = document.queryCommandEnabled(command);
Parameters
command The command for which to determine support.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/queryCommandEnabled
Method. The Document.queryCommandEnabled() method reports whether or the specified editor command is enabled by the browser. `isEnabled = document.queryCommandEnabled(command); Parameters command The command for which to determine support.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/queryCommandEnabled`
(query-command-indeterm this & args)
Method.
Returns true if the formating command is in an indeterminate on the current range.
Method. Returns true if the formating command is in an indeterminate on the current range.
(query-command-state this & args)
Method.
The queryCommandState method will tell you if the current selection
a certain Document.execCommand()
command applied.
`queryCommandState(String command)
command is a command from `Document.execCommand()``
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/queryCommandState
Method. The queryCommandState method will tell you if the current selection a certain `Document.execCommand()` command applied. `queryCommandState(String command) command is a command from `Document.execCommand()`` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/queryCommandState`
(query-command-supported this & args)
Method.
The Document.queryCommandSupported() method reports whether or the specified editor command is supported by the browser.
`isSupported = document.queryCommandSupported(command);
Parameters
command The command for which to determine support.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/queryCommandSupported
Method. The Document.queryCommandSupported() method reports whether or the specified editor command is supported by the browser. `isSupported = document.queryCommandSupported(command); Parameters command The command for which to determine support.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/queryCommandSupported`
(query-command-value this & args)
Method.
Returns the current value of the current range for a formating
Method. Returns the current value of the current range for a formating
(query-selector this selectors)
Method.
The web.Document
method querySelector() returns the first web.Element
the document that matches the specified selector, or group of
If no matches are found, null is returned.
element = document.querySelector(selectors);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector
Method. The `web.Document` method querySelector() returns the first `web.Element` the document that matches the specified selector, or group of If no matches are found, null is returned. `element = document.querySelector(selectors);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector`
(query-selector-all this selectors)
Method.
The web.Document
method querySelectorAll() returns a static
live) web.NodeList
representing a list of the document's elements
match the specified group of selectors.
elementList = parentNode.querySelectorAll(selectors);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll
Method. The `web.Document` method querySelectorAll() returns a static live) `web.NodeList` representing a list of the document's elements match the specified group of selectors. `elementList = parentNode.querySelectorAll(selectors);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll`
(ready-state this)
Property.
[Read Only]
The Document.readyState property describes the loading state
the document
.
var string = document.readyState;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState
Property. [Read Only] The Document.readyState property describes the loading state the `document`. `var string = document.readyState;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState`
(referrer this)
Property.
[Read Only]
The Document.referrer property returns the URI of the page that to this page.
var referrer = document.referrer;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer
Property. [Read Only] The Document.referrer property returns the URI of the page that to this page. `var referrer = document.referrer;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer`
(register-element this & args)
Method.
[Deprecated] [Draft]
The document.registerElement() method registers a new custom in the browser and returns a constructor for the new element.
var constructor = document.registerElement(tag-name, options);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/registerElement
Method. [Deprecated] [Draft] The document.registerElement() method registers a new custom in the browser and returns a constructor for the new element. `var constructor = document.registerElement(tag-name, options);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/registerElement`
(release-capture this & args)
Method.
The releaseCapture() method releases mouse capture if it's currently
on an element within this document. Enabling mouse capture on
element is done by calling element.setCapture()
.
`document.releaseCapture();
Once mouse capture is released, mouse events will no longer all be directed to the element on which capture is enabled.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/releaseCapture
Method. The releaseCapture() method releases mouse capture if it's currently on an element within this document. Enabling mouse capture on element is done by calling `element.setCapture()`. `document.releaseCapture(); Once mouse capture is released, mouse events will no longer all be directed to the element on which capture is enabled.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/releaseCapture`
(release-events this & args)
Method.
See Window.releaseEvents().
Method. See Window.releaseEvents().
(request-storage-access this)
Method.
The requestStorageAccess() method of the web.Document
interface
a js.Promise
that resolves if the access to first-party storage
granted, and rejects if access was denied.
Promise<void> requestStorageAccess()
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/requestStorageAccess
Method. The requestStorageAccess() method of the `web.Document` interface a `js.Promise` that resolves if the access to first-party storage granted, and rejects if access was denied. `Promise<void> requestStorageAccess()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/requestStorageAccess`
(route-event this & args)
Method.
See Window.routeEvent().
Method. See Window.routeEvent().
(scripts this)
Property.
[Read Only]
The scripts property of the web.Document
interface returns
list of the <script>
elements in the document. The returned
is an web.HTMLCollection
.
var scriptList = document.scripts;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/scripts
Property. [Read Only] The scripts property of the `web.Document` interface returns list of the `<script>` elements in the document. The returned is an `web.HTMLCollection`. `var scriptList = document.scripts;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/scripts`
(scrolling-element this)
Property.
[Read Only]
The scrollingElement read-only property of the web.Document
returns a reference to the web.Element
that scrolls the document.
standards mode, this is the root element of the document, document.documentElement
.
var element = document.scrollingElement;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/scrollingElement
Property. [Read Only] The scrollingElement read-only property of the `web.Document` returns a reference to the `web.Element` that scrolls the document. standards mode, this is the root element of the document, `document.documentElement`. `var element = document.scrollingElement;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/scrollingElement`
(selected-style-sheet-set this)
Property.
The selectedStyleSheetSet property indicates the name of the sheet set that's currently in use.
`currentStyleSheetSet = document.selectedStyleSheetSet;
document.selectedStyleSheet = newStyleSheetSet;
On return, currentStyleSheetSet indicates the name of the style sheet set currently in use. You can also set the current style sheet set using this property.
Setting the value of this property is equivalent to calling document.enableStyleSheetsForSet()
with the value of currentStyleSheetSet, then setting the value of lastStyleSheetSet to that value as well.
Note: This attribute's value is live; directly changing the disabled attribute on style sheets will affect the value of this attribute.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet
Property. The selectedStyleSheetSet property indicates the name of the sheet set that's currently in use. `currentStyleSheetSet = document.selectedStyleSheetSet; document.selectedStyleSheet = newStyleSheetSet; On return, currentStyleSheetSet indicates the name of the style sheet set currently in use. You can also set the current style sheet set using this property. Setting the value of this property is equivalent to calling `document.enableStyleSheetsForSet()` with the value of currentStyleSheetSet, then setting the value of lastStyleSheetSet to that value as well. Note: This attribute's value is live; directly changing the disabled attribute on style sheets will affect the value of this attribute.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet`
(set-alink-color! this val)
Property.
[Deprecated]
Returns or sets the color of an active link in the document body. link is active during the time between mousedown and mouseup
`var color = document.alinkColor; document.alinkColor = color;
color is a string containing the name of the color (e.g., blue, darkblue, etc.) or the hexadecimal value of the color (e.g., #0000FF)`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/alinkColor
Property. [Deprecated] Returns or sets the color of an active link in the document body. link is active during the time between mousedown and mouseup `var color = document.alinkColor; document.alinkColor = color; color is a string containing the name of the color (e.g., blue, darkblue, etc.) or the hexadecimal value of the color (e.g., #0000FF)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/alinkColor`
(set-bg-color! this val)
Property.
[Deprecated]
The deprecated bgColor property gets or sets the background color the current document.
color = document.bgColor document.bgColor =color
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/bgColor
Property. [Deprecated] The deprecated bgColor property gets or sets the background color the current document. `color = document.bgColor document.bgColor =color` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/bgColor`
(set-body! this val)
Property.
The Document.body property represents the <body>
or <frameset>
of the current document, or null if no such element exists.
var objRef = document.body; document.body = objRef;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/body
Property. The Document.body property represents the `<body>` or `<frameset>` of the current document, or null if no such element exists. `var objRef = document.body; document.body = objRef;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/body`
(set-charset! this val)
Property.
Alias of Document.characterSet. Use this property instead.
Property. Alias of Document.characterSet. Use this property instead.
(set-cookie! this val)
Property.
The web.Document
property cookie lets you read and write cookies
with the document. It serves as a getter and setter for the actual
of the cookies.
``
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie
Property. The `web.Document` property cookie lets you read and write cookies with the document. It serves as a getter and setter for the actual of the cookies. `` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie`
(set-current-script! this val)
Property.
The Document.currentScript property returns the <script>
element
script is currently being processed and isn't a JavaScript module.
modules use import.meta instead.)
var curScriptElement = document.currentScript;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript
Property. The Document.currentScript property returns the `<script>` element script is currently being processed and isn't a JavaScript module. modules use import.meta instead.) `var curScriptElement = document.currentScript;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript`
(set-design-mode! this val)
Property.
document.designMode controls whether the entire document is editable. values are "on" and "off". According to the specification, property is meant to default to "off". Firefox follows this The earlier versions of Chrome and IE default to "inherit". in Chrome 43, the default is "off" and "inherit" is no longer In IE6-10, the value is capitalized.
var mode = document.designMode; document.designMode = \"on\" || \"off\";
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/designMode
Property. document.designMode controls whether the entire document is editable. values are \"on\" and \"off\". According to the specification, property is meant to default to \"off\". Firefox follows this The earlier versions of Chrome and IE default to \"inherit\". in Chrome 43, the default is \"off\" and \"inherit\" is no longer In IE6-10, the value is capitalized. `var mode = document.designMode; document.designMode = \"on\" || \"off\";` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/designMode`
(set-dom-config! this val)
Property.
[Deprecated]
This should return the DOMConfiguration for the document.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/domConfig
Property. [Deprecated] This should return the DOMConfiguration for the document. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/domConfig`
(set-domain! this val)
Property.
The domain property of the web.Document
interface gets/sets
domain portion of the origin of the current document, as used
the same origin policy.
var domainString = document.domain; document.domain = domainString;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/domain
Property. The domain property of the `web.Document` interface gets/sets domain portion of the origin of the current document, as used the same origin policy. `var domainString = document.domain; document.domain = domainString;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/domain`
(set-fg-color! this val)
Property.
[Deprecated]
fgColor gets/sets the foreground color, or text color, of the document.
var color = document.fgColor; document.fgColor = color;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/fgColor
Property. [Deprecated] fgColor gets/sets the foreground color, or text color, of the document. `var color = document.fgColor; document.fgColor = color;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/fgColor`
(set-fonts! this val)
Property.
The fonts property of the web.Document
interface returns the
interface of the document.
let fontFaceSet = document.fonts;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/fonts
Property. The fonts property of the `web.Document` interface returns the interface of the document. `let fontFaceSet = document.fonts;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/fonts`
(set-fullscreen-element! this val)
Property.
The element that's currently in full screen mode for this document.
Property. The element that's currently in full screen mode for this document.
(set-height! this val)
Property.
[Obsolute]
Returns the height of the document
object. In most cases, this
equal to the <body>
element of the current document.
pixels = document.height
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/height
Property. [Obsolute] Returns the height of the `document` object. In most cases, this equal to the `<body>` element of the current document. `pixels = document.height` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/height`
(set-input-encoding! this val)
Property.
Alias of Document.characterSet. Use this property instead.
Property. Alias of Document.characterSet. Use this property instead.
(set-link-color! this val)
Property.
[Deprecated]
The Document.linkColor property gets/sets the color of links the document.
color = document.linkColor document.linkColor = color
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/linkColor
Property. [Deprecated] The Document.linkColor property gets/sets the color of links the document. `color = document.linkColor document.linkColor = color` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/linkColor`
(set-moz-synthetic-document! this val)
Property.
[Non Standard]
The Document.mozSyntheticDocument property indicates whether not the document is a synthetic one; that is, a document representing standalone image, video, audio, or the like.
`var isSynthetic = document.mozSyntheticDocument;
On return, isSynthetic is true if the document is a synthetic one; otherwise it's false.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/mozSyntheticDocument
Property. [Non Standard] The Document.mozSyntheticDocument property indicates whether not the document is a synthetic one; that is, a document representing standalone image, video, audio, or the like. `var isSynthetic = document.mozSyntheticDocument; On return, isSynthetic is true if the document is a synthetic one; otherwise it's false.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/mozSyntheticDocument`
(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-onafterscriptexecute! this val)
Property.
[Non Standard]
The Document.onafterscriptexecute property references a function
fires when a static <script>
element finishes executing its
It does not fire if the element is added dynamically, such as
appendChild()
.
`document.onafterscriptexecute = funcRef;
funcRef is a function reference, called when the event is fired. The event's target attribute is set to the <script>
element that just finished executing.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute
Property. [Non Standard] The Document.onafterscriptexecute property references a function fires when a static `<script>` element finishes executing its It does not fire if the element is added dynamically, such as `appendChild()`. `document.onafterscriptexecute = funcRef; funcRef is a function reference, called when the event is fired. The event's target attribute is set to the `<script>` element that just finished executing.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute`
(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-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-onbeforescriptexecute! this val)
Property.
[Non Standard]
Fired when the code in a <script>
element declared in an HTML
is about to start executing. Does not fire if the element is
dynamically, eg with appendChild().
`document.onbeforescriptexecute = funcRef;
funcRef is a function reference, called when the event is fired. The event's target attribute is set to the script web.Element
that is about to be executed.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute
Property. [Non Standard] Fired when the code in a `<script>` element declared in an HTML is about to start executing. Does not fire if the element is dynamically, eg with appendChild(). `document.onbeforescriptexecute = funcRef; funcRef is a function reference, called when the event is fired. The event's target attribute is set to the script `web.Element` that is about to be executed.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute`
(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
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` 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-oncopy! this val)
Property.
Represents the event handling code for the copy event.
Property. Represents the event handling code for the copy event.
(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-oncut! this val)
Property.
Represents the event handling code for the cut event.
Property. Represents the event handling code for the cut event.
(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-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-onfullscreenchange! this val)
Property.
The web.Document
interface's onfullscreenchange property is
event handler for the fullscreenchange event that is fired immediately
a document transitions into or out of full-screen mode.
targetDocument.onfullscreenchange = fullscreenChangeHandler;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange
Property. The `web.Document` interface's onfullscreenchange property is event handler for the fullscreenchange event that is fired immediately a document transitions into or out of full-screen mode. `targetDocument.onfullscreenchange = fullscreenChangeHandler;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange`
(set-onfullscreenerror! this val)
Property.
The Document.onfullscreenerror property is an event handler for
fullscreenerror event that is sent to the document when it fails
transition into full-screen mode after a prior call to Element.requestFullscreen()
.
targetDocument.onfullscreenerror = fullscreenErrorHandler;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror
Property. The Document.onfullscreenerror property is an event handler for fullscreenerror event that is sent to the document when it fails transition into full-screen mode after a prior call to `Element.requestFullscreen()`. `targetDocument.onfullscreenerror = fullscreenErrorHandler;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror`
(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-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-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-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-onoffline! this val)
Property.
The Document.onoffline event handler is called when an offline
fired on the <body>
element and bubbles up, when navigator.onLine
changes and becomes false.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onoffline
Property. The Document.onoffline event handler is called when an offline fired on the `<body>` element and bubbles up, when `navigator.onLine` changes and becomes false. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onoffline`
(set-ononline! this val)
Property.
The Document.online event is fired on the <body>
of each page
the browser switches between online and offline mode. Additionally,
events bubble up from document.body, to document, ending at window.
events are non-cancellable (you can't prevent the user from coming
or going offline).
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/ononline
Property. The Document.online event is fired on the `<body>` of each page the browser switches between online and offline mode. Additionally, events bubble up from document.body, to document, ending at window. events are non-cancellable (you can't prevent the user from coming or going offline). See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/ononline`
(set-onpaste! this val)
Property.
Represents the event handling code for the paste event.
Property. Represents the event handling code for the paste event.
(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-onreadystatechange! this val)
Property.
Represents the event handling code for the readystatechange event.
Property. Represents the event handling code for the readystatechange event.
(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.
Is an EventHandler representing the code to be called when the event is raised.
Property. Is an EventHandler representing the code to be called when the event is raised.
(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-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-onvisibilitychange! this val)
Property.
The Document.onvisibilitychange property represents the event that is called when a visibilitychange event reaches this object.
`obj.onvisibilitychange = function;
function is the name of a user-defined function, without the () suffix or any parameters, or an anonymous function declaration.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange
Property. The Document.onvisibilitychange property represents the event that is called when a visibilitychange event reaches this object. `obj.onvisibilitychange = function; function is the name of a user-defined function, without the () suffix or any parameters, or an anonymous function declaration.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange`
(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-popup-node! this val)
Property.
[Deprecated]
When a popup attached via the popup or context attributes is the XUL document's popupNode property is set to the node that clicked on. This will be the target of the mouse event that activated popup. If the popup was opened via the keyboard, the popup node be set to null. Typically, this property will be checked during popupshowing event handler for a context menu to initialize the based on the context.
var node = document.popupNode;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/popupNode
Property. [Deprecated] When a popup attached via the popup or context attributes is the XUL document's popupNode property is set to the node that clicked on. This will be the target of the mouse event that activated popup. If the popup was opened via the keyboard, the popup node be set to null. Typically, this property will be checked during popupshowing event handler for a context menu to initialize the based on the context. `var node = document.popupNode;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/popupNode`
(set-selected-style-sheet-set! this val)
Property.
The selectedStyleSheetSet property indicates the name of the sheet set that's currently in use.
`currentStyleSheetSet = document.selectedStyleSheetSet;
document.selectedStyleSheet = newStyleSheetSet;
On return, currentStyleSheetSet indicates the name of the style sheet set currently in use. You can also set the current style sheet set using this property.
Setting the value of this property is equivalent to calling document.enableStyleSheetsForSet()
with the value of currentStyleSheetSet, then setting the value of lastStyleSheetSet to that value as well.
Note: This attribute's value is live; directly changing the disabled attribute on style sheets will affect the value of this attribute.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet
Property. The selectedStyleSheetSet property indicates the name of the sheet set that's currently in use. `currentStyleSheetSet = document.selectedStyleSheetSet; document.selectedStyleSheet = newStyleSheetSet; On return, currentStyleSheetSet indicates the name of the style sheet set currently in use. You can also set the current style sheet set using this property. Setting the value of this property is equivalent to calling `document.enableStyleSheetsForSet()` with the value of currentStyleSheetSet, then setting the value of lastStyleSheetSet to that value as well. Note: This attribute's value is live; directly changing the disabled attribute on style sheets will affect the value of this attribute.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet`
(set-title! this val)
Property.
The document.title property gets or sets the current title of document.
`var docTitle = document.title;
docTitle is a string containing the document's title. If the title was overridden by setting document.title, it contains that value. Otherwise, it contains the title specified in the markup (see the Notes below).
document.title = newTitle;
newTitle is the new title of the document. The assignment affects the return value of document.title, the title displayed for the document (e.g. in the titlebar of the window or tab), and it also affects the DOM of the document (e.g. the content of the <title> element in an HTML document).`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/title
Property. The document.title property gets or sets the current title of document. `var docTitle = document.title; docTitle is a string containing the document's title. If the title was overridden by setting document.title, it contains that value. Otherwise, it contains the title specified in the markup (see the Notes below). document.title = newTitle; newTitle is the new title of the document. The assignment affects the return value of document.title, the title displayed for the document (e.g. in the titlebar of the window or tab), and it also affects the DOM of the document (e.g. the content of the <title> element in an HTML document).` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/title`
(set-tooltip-node! this val)
Property.
[Non Standard] [Draft]
The Document.tooltipNode property returns the node which is the of the current xul:tooltip.
document.tooltipNode;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/tooltipNode
Property. [Non Standard] [Draft] The Document.tooltipNode property returns the node which is the of the current <xul:tooltip>. `document.tooltipNode;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/tooltipNode`
(set-vlink-color! this val)
Property.
[Deprecated]
The Document.vlinkColor property gets/sets the color of links the user has visited in the document.
color = document.vlinkColor document.vlinkColor = color
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/vlinkColor
Property. [Deprecated] The Document.vlinkColor property gets/sets the color of links the user has visited in the document. `color = document.vlinkColor document.vlinkColor = color` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/vlinkColor`
(set-width! this val)
Property.
[Obsolute]
Returns the width of the <body>
element of the current document
pixels.
pixels = document.width;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/width
Property. [Obsolute] Returns the width of the `<body>` element of the current document pixels. `pixels = document.width;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/width`
(set-xml-encoding! this val)
Property.
[Obsolute]
Returns the encoding as determined by the XML declaration. Should null if unspecified or unknown.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlEncoding
Property. [Obsolute] Returns the encoding as determined by the XML declaration. Should null if unspecified or unknown. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlEncoding`
(set-xml-standalone! this val)
Property.
Returns true if the XML declaration specifies the document to standalone (e.g., An external part of the DTD affects the document's else false.
Property. Returns true if the XML declaration specifies the document to standalone (e.g., An external part of the DTD affects the document's else false.
(set-xml-version! this val)
Property.
[Obsolute]
Returns the version number as specified in the XML declaration
<?xml version=\"1.0\"?>) or \"1.0\" if the declaration is absent.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlVersion
Property. [Obsolute] Returns the version number as specified in the XML declaration <?xml version=\"1.0\"?>) or \"1.0\" if the declaration is absent. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlVersion`
(style-sheet-sets this)
Property.
[Read Only]
The styleSheetSets read-only property returns a live list of of the currently-available style sheet sets.
`var sets = document.styleSheetSets;
On return, sets is a list of style sheet sets that are available.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/styleSheetSets
Property. [Read Only] The styleSheetSets read-only property returns a live list of of the currently-available style sheet sets. `var sets = document.styleSheetSets; On return, sets is a list of style sheet sets that are available.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/styleSheetSets`
(style-sheets this)
Property.
[Read Only] [Experimental]
The styleSheets read-only property of the web.shadow-dom.DocumentOrShadowRoot
returns a web.cssdom.StyleSheetList
of web.cssdom.CSSStyleSheet
for stylesheets explicitly linked into or embedded in a document.
See also: https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/styleSheets
Property. [Read Only] [Experimental] The styleSheets read-only property of the `web.shadow-dom.DocumentOrShadowRoot` returns a `web.cssdom.StyleSheetList` of `web.cssdom.CSSStyleSheet` for stylesheets explicitly linked into or embedded in a document. See also: `https://developer.mozilla.org/en-US/docs/Web/API/DocumentOrShadowRoot/styleSheets`
(timeline this)
Property.
[Read Only] [Experimental]
The timeline readonly property of the web.Document
interface
the default timeline of the current document. This timeline is
special instance of web.animation.DocumentTimeline
that is
created on page load.
var pageTimeline = document.timeline; var thisMoment = pageTimeline.currentTime;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/timeline
Property. [Read Only] [Experimental] The timeline readonly property of the `web.Document` interface the default timeline of the current document. This timeline is special instance of `web.animation.DocumentTimeline` that is created on page load. `var pageTimeline = document.timeline; var thisMoment = pageTimeline.currentTime;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/timeline`
(title this)
Property.
The document.title property gets or sets the current title of document.
`var docTitle = document.title;
docTitle is a string containing the document's title. If the title was overridden by setting document.title, it contains that value. Otherwise, it contains the title specified in the markup (see the Notes below).
document.title = newTitle;
newTitle is the new title of the document. The assignment affects the return value of document.title, the title displayed for the document (e.g. in the titlebar of the window or tab), and it also affects the DOM of the document (e.g. the content of the <title> element in an HTML document).`
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/title
Property. The document.title property gets or sets the current title of document. `var docTitle = document.title; docTitle is a string containing the document's title. If the title was overridden by setting document.title, it contains that value. Otherwise, it contains the title specified in the markup (see the Notes below). document.title = newTitle; newTitle is the new title of the document. The assignment affects the return value of document.title, the title displayed for the document (e.g. in the titlebar of the window or tab), and it also affects the DOM of the document (e.g. the content of the <title> element in an HTML document).` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/title`
(tooltip-node this)
Property.
[Non Standard] [Draft]
The Document.tooltipNode property returns the node which is the of the current xul:tooltip.
document.tooltipNode;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/tooltipNode
Property. [Non Standard] [Draft] The Document.tooltipNode property returns the node which is the of the current <xul:tooltip>. `document.tooltipNode;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/tooltipNode`
(url this)
Property.
[Read Only]
The URL read-only property of the web.Document
interface returns
document location as a string.
var string = document.URL
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/URL
Property. [Read Only] The URL read-only property of the `web.Document` interface returns document location as a string. `var string = document.URL` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/URL`
(visibility-state this)
Property.
[Read Only]
The Document.visibilityState read-only property returns the visibility
the document
, that is in which context this element is now
It is useful to know if the document is in the background or
invisible tab, or only loaded for pre-rendering.
var string = document.visibilityState
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState
Property. [Read Only] The Document.visibilityState read-only property returns the visibility the `document`, that is in which context this element is now It is useful to know if the document is in the background or invisible tab, or only loaded for pre-rendering. `var string = document.visibilityState` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState`
(vlink-color this)
Property.
[Deprecated]
The Document.vlinkColor property gets/sets the color of links the user has visited in the document.
color = document.vlinkColor document.vlinkColor = color
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/vlinkColor
Property. [Deprecated] The Document.vlinkColor property gets/sets the color of links the user has visited in the document. `color = document.vlinkColor document.vlinkColor = color` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/vlinkColor`
(width this)
Property.
[Obsolute]
Returns the width of the <body>
element of the current document
pixels.
pixels = document.width;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/width
Property. [Obsolute] Returns the width of the `<body>` element of the current document pixels. `pixels = document.width;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/width`
(write this markup)
Method.
The Document.write() method writes a string of text to a document
opened by document.open()
.
document.write(markup);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/write
Method. The Document.write() method writes a string of text to a document opened by `document.open()`. `document.write(markup);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/write`
(writeln this line)
Method.
Writes a string of text followed by a newline character to a
document.writeln(line);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/writeln
Method. Writes a string of text followed by a newline character to a `document.writeln(line);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/writeln`
(xml-encoding this)
Property.
[Obsolute]
Returns the encoding as determined by the XML declaration. Should null if unspecified or unknown.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlEncoding
Property. [Obsolute] Returns the encoding as determined by the XML declaration. Should null if unspecified or unknown. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlEncoding`
(xml-standalone this)
Property.
Returns true if the XML declaration specifies the document to standalone (e.g., An external part of the DTD affects the document's else false.
Property. Returns true if the XML declaration specifies the document to standalone (e.g., An external part of the DTD affects the document's else false.
(xml-version this)
Property.
[Obsolute]
Returns the version number as specified in the XML declaration
<?xml version=\"1.0\"?>) or \"1.0\" if the declaration is absent.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlVersion
Property. [Obsolute] Returns the version number as specified in the XML declaration <?xml version=\"1.0\"?>) or \"1.0\" if the declaration is absent. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Document/xmlVersion`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close