Liking cljdoc? Tell your friends :D
ClojureScript only.

web.Document

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.
raw docstring

active-elementcljs

(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`
sourceraw docstring

adopt-nodecljs

(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`
sourceraw docstring

(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`
sourceraw docstring

allcljs

(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`
sourceraw docstring

anchorscljs

(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`
sourceraw docstring

appendcljs

(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`
sourceraw docstring

appletscljs

(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`
sourceraw docstring

bg-colorcljs

(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`
sourceraw docstring

bodycljs

(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`
sourceraw docstring

capture-eventscljs

(capture-events this & args)

Method.

See Window.captureEvents.

Method.

See Window.captureEvents.
sourceraw docstring

caret-position-from-pointcljs

(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`
sourceraw docstring

caret-range-from-pointcljs

(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`
sourceraw docstring

character-setcljs

(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`
sourceraw docstring

charsetcljs

(charset this)

Property.

Alias of Document.characterSet. Use this property instead.

Property.

Alias of Document.characterSet. Use this property instead.
sourceraw docstring

child-element-countcljs

(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`
sourceraw docstring

childrencljs

(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`
sourceraw docstring

clearcljs

(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`
sourceraw docstring

closecljs

(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`
sourceraw docstring

compat-modecljs

(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`
sourceraw docstring

constructorcljs

(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`
sourceraw docstring

content-typecljs

(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`
sourceraw docstring

(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`
sourceraw docstring

create-attributecljs

(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`
sourceraw docstring

create-attribute-nscljs

(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
sourceraw docstring

create-cdata-sectioncljs

(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`
sourceraw docstring

create-commentcljs

(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`
sourceraw docstring

create-document-fragmentcljs

(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`
sourceraw docstring

create-elementcljs

(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`
sourceraw docstring

create-element-nscljs

(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`
sourceraw docstring

create-entity-referencecljs

(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`
sourceraw docstring

create-eventcljs

(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`
sourceraw docstring

create-expressioncljs

(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`
sourceraw docstring

create-node-iteratorcljs

(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`
sourceraw docstring

create-ns-resolvercljs

(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`
sourceraw docstring

create-processing-instructioncljs

(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`
sourceraw docstring

create-rangecljs

(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`
sourceraw docstring

create-text-nodecljs

(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`
sourceraw docstring

create-touchcljs

(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`
sourceraw docstring

create-touch-listcljs

(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`
sourceraw docstring

create-tree-walkercljs

(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`
sourceraw docstring

current-scriptcljs

(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`
sourceraw docstring

default-viewcljs

(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`
sourceraw docstring

design-modecljs

(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`
sourceraw docstring

dircljs

(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`
sourceraw docstring

doctypecljs

(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`
sourceraw docstring

document-elementcljs

(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`
sourceraw docstring

document-uricljs

(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`
sourceraw docstring

document-uri-objectcljs

(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`
sourceraw docstring

dom-configcljs

(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`
sourceraw docstring

domaincljs

(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`
sourceraw docstring

element-from-pointcljs

(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`
sourceraw docstring

elements-from-pointcljs

(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`
sourceraw docstring

embedscljs

(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`
sourceraw docstring

enable-style-sheets-for-setcljs

(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`
sourceraw docstring

evaluatecljs

(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`
sourceraw docstring

exec-commandcljs

(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`
sourceraw docstring

exit-fullscreencljs

(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`
sourceraw docstring

exit-pointer-lockcljs

(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`
sourceraw docstring

feature-policycljs

(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`
sourceraw docstring

fg-colorcljs

(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`
sourceraw docstring

first-element-childcljs

(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`
sourceraw docstring

fontscljs

(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`
sourceraw docstring

formscljs

(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`
sourceraw docstring

fullscreencljs

(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`
sourceraw docstring

fullscreen-elementcljs

(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.
sourceraw docstring

fullscreen-enabledcljs

(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`
sourceraw docstring

get-animationscljs

(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`
sourceraw docstring

get-box-object-forcljs

(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`
sourceraw docstring

get-element-by-idcljs

(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`
sourceraw docstring

get-elements-by-class-namecljs

(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`
sourceraw docstring

get-elements-by-namecljs

(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`
sourceraw docstring

get-elements-by-tag-namecljs

(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`
sourceraw docstring

get-elements-by-tag-name-nscljs

(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`
sourceraw docstring

get-selectioncljs

(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`
sourceraw docstring

has-focuscljs

(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`
sourceraw docstring

has-storage-accesscljs

(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`
sourceraw docstring

(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`
sourceraw docstring

heightcljs

(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`
sourceraw docstring

hiddencljs

(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`
sourceraw docstring

imagescljs

(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`
sourceraw docstring

implementationcljs

(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`
sourceraw docstring

import-nodecljs

(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`
sourceraw docstring

input-encodingcljs

(input-encoding this)

Property.

Alias of Document.characterSet. Use this property instead.

Property.

Alias of Document.characterSet. Use this property instead.
sourceraw docstring

instancecljs

(instance)

Instance.

Instance.
sourceraw docstring

last-element-childcljs

(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`
sourceraw docstring

last-modifiedcljs

(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`
sourceraw docstring

last-style-sheet-setcljs

(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`
sourceraw docstring

(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`
sourceraw docstring

(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`
sourceraw docstring

locationcljs

(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`
sourceraw docstring

moz-set-image-elementcljs

(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`
sourceraw docstring

moz-synthetic-documentcljs

(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`
sourceraw docstring

normalize-documentcljs

(normalize-document this & args)

Method.

Replaces entities, normalizes text nodes, etc.

Method.

Replaces entities, normalizes text nodes, etc.
sourceraw docstring

onabortcljs

(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`
sourceraw docstring

onafterscriptexecutecljs

(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`
sourceraw docstring

onanimationcancelcljs

(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`
sourceraw docstring

onanimationendcljs

(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`
sourceraw docstring

onanimationiterationcljs

(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`
sourceraw docstring

onauxclickcljs

(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`
sourceraw docstring

onbeforescriptexecutecljs

(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`
sourceraw docstring

onblurcljs

(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`
sourceraw docstring

oncancelcljs

(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`
sourceraw docstring

oncanplaycljs

(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`
sourceraw docstring

oncanplaythroughcljs

(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`
sourceraw docstring

onchangecljs

(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`
sourceraw docstring

onclickcljs

(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`
sourceraw docstring

onclosecljs

(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`
sourceraw docstring

oncontextmenucljs

(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`
sourceraw docstring

oncopycljs

(oncopy this)

Property.

Represents the event handling code for the copy event.

Property.

Represents the event handling code for the copy event.
sourceraw docstring

oncuechangecljs

(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`
sourceraw docstring

oncutcljs

(oncut this)

Property.

Represents the event handling code for the cut event.

Property.

Represents the event handling code for the cut event.
sourceraw docstring

ondblclickcljs

(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`
sourceraw docstring

ondurationchangecljs

(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`
sourceraw docstring

onendedcljs

(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`
sourceraw docstring

onerrorcljs

(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-typewindow.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`
sourceraw docstring

onfocuscljs

(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`
sourceraw docstring

onfullscreenchangecljs

(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`
sourceraw docstring

onfullscreenerrorcljs

(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`
sourceraw docstring

ongotpointercapturecljs

(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`
sourceraw docstring

oninputcljs

(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`
sourceraw docstring

oninvalidcljs

(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`
sourceraw docstring

onkeydowncljs

(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`
sourceraw docstring

onkeypresscljs

(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`
sourceraw docstring

onkeyupcljs

(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`
sourceraw docstring

onloadcljs

(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`
sourceraw docstring

onloadeddatacljs

(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`
sourceraw docstring

onloadedmetadatacljs

(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`
sourceraw docstring

onloadendcljs

(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`
sourceraw docstring

onloadstartcljs

(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`
sourceraw docstring

onlostpointercapturecljs

(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`
sourceraw docstring

onmousedowncljs

(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`
sourceraw docstring

onmouseentercljs

(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`
sourceraw docstring

onmouseleavecljs

(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`
sourceraw docstring

onmousemovecljs

(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`
sourceraw docstring

onmouseoutcljs

(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`
sourceraw docstring

onmouseovercljs

(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`
sourceraw docstring

onmouseupcljs

(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`
sourceraw docstring

onofflinecljs

(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`
sourceraw docstring

ononlinecljs

(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`
sourceraw docstring

onpastecljs

(onpaste this)

Property.

Represents the event handling code for the paste event.

Property.

Represents the event handling code for the paste event.
sourceraw docstring

onpausecljs

(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`
sourceraw docstring

onplaycljs

(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`
sourceraw docstring

onpointercancelcljs

(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`
sourceraw docstring

onpointerdowncljs

(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`
sourceraw docstring

onpointerentercljs

(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`
sourceraw docstring

onpointerleavecljs

(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`
sourceraw docstring

onpointermovecljs

(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`
sourceraw docstring

onpointeroutcljs

(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`
sourceraw docstring

onpointerovercljs

(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`
sourceraw docstring

onpointerupcljs

(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`
sourceraw docstring

onreadystatechangecljs

(onreadystatechange this)

Property.

Represents the event handling code for the readystatechange event.

Property.

Represents the event handling code for the readystatechange event.
sourceraw docstring

onresetcljs

(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`
sourceraw docstring

onresizecljs

(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`
sourceraw docstring

onscrollcljs

(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`
sourceraw docstring

onselectcljs

(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`
sourceraw docstring

onselectionchangecljs

(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.
sourceraw docstring

onselectstartcljs

(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`
sourceraw docstring

onsubmitcljs

(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`
sourceraw docstring

ontouchcancelcljs

(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`
sourceraw docstring

ontouchstartcljs

(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`
sourceraw docstring

ontransitioncancelcljs

(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`
sourceraw docstring

ontransitionendcljs

(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`
sourceraw docstring

onvisibilitychangecljs

(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`
sourceraw docstring

onwheelcljs

(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`
sourceraw docstring

opencljs

(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`
sourceraw docstring

origincljs

(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`
sourceraw docstring

pluginscljs

(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.HTMLEmbedElements 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`
sourceraw docstring

pointer-lock-elementcljs

(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`
sourceraw docstring

(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`
sourceraw docstring

preferred-style-sheet-setcljs

(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`
sourceraw docstring

prependcljs

(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`
sourceraw docstring

query-command-enabledcljs

(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`
sourceraw docstring

query-command-indetermcljs

(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.
sourceraw docstring

query-command-statecljs

(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`
sourceraw docstring

query-command-supportedcljs

(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`
sourceraw docstring

query-command-valuecljs

(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
sourceraw docstring

query-selectorcljs

(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`
sourceraw docstring

query-selector-allcljs

(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`
sourceraw docstring

ready-statecljs

(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`
sourceraw docstring

referrercljs

(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`
sourceraw docstring

register-elementcljs

(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`
sourceraw docstring

release-capturecljs

(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`
sourceraw docstring

release-eventscljs

(release-events this & args)

Method.

See Window.releaseEvents().

Method.

See Window.releaseEvents().
sourceraw docstring

request-storage-accesscljs

(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`
sourceraw docstring

route-eventcljs

(route-event this & args)

Method.

See Window.routeEvent().

Method.

See Window.routeEvent().
sourceraw docstring

scriptscljs

(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`
sourceraw docstring

scrolling-elementcljs

(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`
sourceraw docstring

selected-style-sheet-setcljs

(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`
sourceraw docstring

(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`
sourceraw docstring

set-bg-color!cljs

(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`
sourceraw docstring

set-body!cljs

(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`
sourceraw docstring

set-charset!cljs

(set-charset! this val)

Property.

Alias of Document.characterSet. Use this property instead.

Property.

Alias of Document.characterSet. Use this property instead.
sourceraw docstring

set-cookie!cljs

(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`
sourceraw docstring

set-current-script!cljs

(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`
sourceraw docstring

set-design-mode!cljs

(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`
sourceraw docstring

set-dom-config!cljs

(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`
sourceraw docstring

set-domain!cljs

(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`
sourceraw docstring

set-fg-color!cljs

(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`
sourceraw docstring

set-fonts!cljs

(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`
sourceraw docstring

set-fullscreen-element!cljs

(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.
sourceraw docstring

set-height!cljs

(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`
sourceraw docstring

set-input-encoding!cljs

(set-input-encoding! this val)

Property.

Alias of Document.characterSet. Use this property instead.

Property.

Alias of Document.characterSet. Use this property instead.
sourceraw docstring

(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`
sourceraw docstring

set-moz-synthetic-document!cljs

(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`
sourceraw docstring

set-onabort!cljs

(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`
sourceraw docstring

set-onafterscriptexecute!cljs

(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`
sourceraw docstring

set-onanimationcancel!cljs

(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`
sourceraw docstring

set-onanimationend!cljs

(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`
sourceraw docstring

set-onanimationiteration!cljs

(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`
sourceraw docstring

set-onauxclick!cljs

(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`
sourceraw docstring

set-onbeforescriptexecute!cljs

(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`
sourceraw docstring

set-onblur!cljs

(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`
sourceraw docstring

set-oncancel!cljs

(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`
sourceraw docstring

set-oncanplay!cljs

(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`
sourceraw docstring

set-oncanplaythrough!cljs

(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`
sourceraw docstring

set-onchange!cljs

(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`
sourceraw docstring

set-onclick!cljs

(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`
sourceraw docstring

set-onclose!cljs

(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`
sourceraw docstring

set-oncontextmenu!cljs

(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`
sourceraw docstring

set-oncopy!cljs

(set-oncopy! this val)

Property.

Represents the event handling code for the copy event.

Property.

Represents the event handling code for the copy event.
sourceraw docstring

set-oncuechange!cljs

(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`
sourceraw docstring

set-oncut!cljs

(set-oncut! this val)

Property.

Represents the event handling code for the cut event.

Property.

Represents the event handling code for the cut event.
sourceraw docstring

set-ondblclick!cljs

(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`
sourceraw docstring

set-ondurationchange!cljs

(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`
sourceraw docstring

set-onended!cljs

(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`
sourceraw docstring

set-onerror!cljs

(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-typewindow.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`
sourceraw docstring

set-onfocus!cljs

(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`
sourceraw docstring

set-onfullscreenchange!cljs

(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`
sourceraw docstring

set-onfullscreenerror!cljs

(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`
sourceraw docstring

set-ongotpointercapture!cljs

(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`
sourceraw docstring

set-oninput!cljs

(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`
sourceraw docstring

set-oninvalid!cljs

(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`
sourceraw docstring

set-onkeydown!cljs

(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`
sourceraw docstring

set-onkeypress!cljs

(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`
sourceraw docstring

set-onkeyup!cljs

(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`
sourceraw docstring

set-onload!cljs

(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`
sourceraw docstring

set-onloadeddata!cljs

(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`
sourceraw docstring

set-onloadedmetadata!cljs

(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`
sourceraw docstring

set-onloadend!cljs

(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`
sourceraw docstring

set-onloadstart!cljs

(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`
sourceraw docstring

set-onlostpointercapture!cljs

(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`
sourceraw docstring

set-onmousedown!cljs

(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`
sourceraw docstring

set-onmouseenter!cljs

(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`
sourceraw docstring

set-onmouseleave!cljs

(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`
sourceraw docstring

set-onmousemove!cljs

(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`
sourceraw docstring

set-onmouseout!cljs

(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`
sourceraw docstring

set-onmouseover!cljs

(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`
sourceraw docstring

set-onmouseup!cljs

(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`
sourceraw docstring

set-onoffline!cljs

(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`
sourceraw docstring

set-ononline!cljs

(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`
sourceraw docstring

set-onpaste!cljs

(set-onpaste! this val)

Property.

Represents the event handling code for the paste event.

Property.

Represents the event handling code for the paste event.
sourceraw docstring

set-onpause!cljs

(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`
sourceraw docstring

set-onplay!cljs

(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`
sourceraw docstring

set-onpointercancel!cljs

(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`
sourceraw docstring

set-onpointerdown!cljs

(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`
sourceraw docstring

set-onpointerenter!cljs

(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`
sourceraw docstring

set-onpointerleave!cljs

(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`
sourceraw docstring

set-onpointermove!cljs

(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`
sourceraw docstring

set-onpointerout!cljs

(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`
sourceraw docstring

set-onpointerover!cljs

(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`
sourceraw docstring

set-onpointerup!cljs

(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`
sourceraw docstring

set-onreadystatechange!cljs

(set-onreadystatechange! this val)

Property.

Represents the event handling code for the readystatechange event.

Property.

Represents the event handling code for the readystatechange event.
sourceraw docstring

set-onreset!cljs

(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`
sourceraw docstring

set-onresize!cljs

(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`
sourceraw docstring

set-onscroll!cljs

(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`
sourceraw docstring

set-onselect!cljs

(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`
sourceraw docstring

set-onselectionchange!cljs

(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.
sourceraw docstring

set-onselectstart!cljs

(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`
sourceraw docstring

set-onsubmit!cljs

(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`
sourceraw docstring

set-ontouchcancel!cljs

(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`
sourceraw docstring

set-ontouchstart!cljs

(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`
sourceraw docstring

set-ontransitioncancel!cljs

(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`
sourceraw docstring

set-ontransitionend!cljs

(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`
sourceraw docstring

set-onvisibilitychange!cljs

(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`
sourceraw docstring

set-onwheel!cljs

(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`
sourceraw docstring

set-popup-node!cljs

(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`
sourceraw docstring

set-selected-style-sheet-set!cljs

(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`
sourceraw docstring

set-title!cljs

(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`
sourceraw docstring

set-tooltip-node!cljs

(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`
sourceraw docstring

set-undo-manager!cljs

(set-undo-manager! this val)

Property.

Property.

…
sourceraw docstring

(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`
sourceraw docstring

set-width!cljs

(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`
sourceraw docstring

set-xml-encoding!cljs

(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`
sourceraw docstring

set-xml-standalone!cljs

(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.
sourceraw docstring

set-xml-version!cljs

(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`
sourceraw docstring

style-sheet-setscljs

(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`
sourceraw docstring

style-sheetscljs

(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`
sourceraw docstring

timelinecljs

(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`
sourceraw docstring

titlecljs

(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`
sourceraw docstring

tooltip-nodecljs

(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`
sourceraw docstring

undo-managercljs

(undo-manager this)

Property.

Property.

…
sourceraw docstring

urlcljs

(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`
sourceraw docstring

visibility-statecljs

(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`
sourceraw docstring

(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`
sourceraw docstring

widthcljs

(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`
sourceraw docstring

writecljs

(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`
sourceraw docstring

writelncljs

(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`
sourceraw docstring

xml-encodingcljs

(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`
sourceraw docstring

xml-standalonecljs

(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.
sourceraw docstring

xml-versioncljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close