Liking cljdoc? Tell your friends :D
ClojureScript only.

web.Element

Element is the most general base class from which all objects a web.Document inherit. It only has methods and properties to all kinds of elements. More specific classes inherit from

Element is the most general base class from which all objects
a `web.Document` inherit. It only has methods and properties
to all kinds of elements. More specific classes inherit from
raw docstring

access-keycljs

(access-key this)

Property.

The Element.accessKey property sets the keystroke which a user press to jump to a given element.

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/accessKey

Property.

The Element.accessKey property sets the keystroke which a user
press to jump to a given element.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/accessKey`
sourceraw docstring

add-event-listenercljs

(add-event-listener this & args)

Method.

The web.EventTarget method addEventListener() sets up a function will be called whenever the specified event is delivered to the

target.addEventListener(type, listener[, options]); target.addEventListener(type, listener[, useCapture]); target.addEventListener(type, listener[, useCapture, wantsUntrusted ]); // Gecko/Mozilla only

See also: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener

Method.

The `web.EventTarget` method addEventListener() sets up a function
will be called whenever the specified event is delivered to the

`target.addEventListener(type, listener[, options]);
target.addEventListener(type, listener[, useCapture]);
target.addEventListener(type, listener[, useCapture, wantsUntrusted  ]); // Gecko/Mozilla only`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener`
sourceraw docstring

aftercljs

(after this & args)

Method.

[Experimental]

The ChildNode.after() method inserts a set of web.Node or web.dom.DOMString in the children list of this ChildNode's parent, just after this web.dom.DOMString objects are inserted as equivalent web.Text

[Throws, Unscopable] void ChildNode.after((Node or DOMString)... nodes);

See also: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/after

Method.

[Experimental]

The ChildNode.after() method inserts a set of `web.Node` or `web.dom.DOMString`
in the children list of this ChildNode's parent, just after this
`web.dom.DOMString` objects are inserted as equivalent `web.Text`

`[Throws, Unscopable]
void ChildNode.after((Node or DOMString)... nodes);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/after`
sourceraw docstring

animatecljs

(animate this keyframes options)

Method.

[Experimental]

The web.Element interface's animate() method is a shortcut which creates a new web.animation.Animation, applies it to element, then plays the animation. It returns the created web.animation.Animation instance.

var animation = element.animate(keyframes, options);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/animate

Method.

[Experimental]

The `web.Element` interface's animate() method is a shortcut
which creates a new `web.animation.Animation`, applies it to
element, then plays the animation. It returns the created `web.animation.Animation`
instance.

`var animation = element.animate(keyframes, options);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/animate`
sourceraw docstring

appendcljs

(append this & args)

Method.

The ParentNode.append() method inserts a set of web.Node objects web.dom.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.dom.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

assigned-slotcljs

(assigned-slot this)

Property.

[Read Only]

The assignedSlot read-only property of the web.shadow-dom.Slotable returns an web.shadow-dom.HTMLSlotElement representing the element the node is inserted in.

var slotElement = elementInstance.assignedSlot

See also: https://developer.mozilla.org/en-US/docs/Web/API/Slotable/assignedSlot

Property.

[Read Only]

The assignedSlot read-only property of the `web.shadow-dom.Slotable`
returns an `web.shadow-dom.HTMLSlotElement` representing the
element the node is inserted in.

`var slotElement = elementInstance.assignedSlot`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Slotable/assignedSlot`
sourceraw docstring

attach-shadowcljs

(attach-shadow this shadow-root-init)

Method.

The Element.attachShadow() method attaches a shadow DOM tree the specified element and returns a reference to its web.shadow-dom.ShadowRoot.

var shadowroot = element.attachShadow(shadowRootInit);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow

Method.

The Element.attachShadow() method attaches a shadow DOM tree
the specified element and returns a reference to its `web.shadow-dom.ShadowRoot`.

`var shadowroot = element.attachShadow(shadowRootInit);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow`
sourceraw docstring

attributescljs

(attributes this)

Property.

[Read Only]

The Element.attributes property returns a live collection of attribute nodes registered to the specified node. It is a web.NamedNodeMap, an Array, so it has no js.Array methods and the web.Attr indexes may differ among browsers. To be more specific, attributes a key/value pair of strings that represents any information regarding attribute.

var attr = element.attributes;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes

Property.

[Read Only]

The Element.attributes property returns a live collection of
attribute nodes registered to the specified node. It is a `web.NamedNodeMap`,
an Array, so it has no `js.Array` methods and the `web.Attr`
indexes may differ among browsers. To be more specific, attributes
a key/value pair of strings that represents any information regarding
attribute.

`var attr = element.attributes;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes`
sourceraw docstring

beforecljs

(before this & args)

Method.

[Experimental]

The ChildNode.before() method inserts a set of web.Node or objects in the children list of this ChildNode's parent, just this ChildNode. web.dom.DOMString objects are inserted as equivalent nodes.

[Throws, Unscopable] void ChildNode.before((Node or DOMString)... nodes);

See also: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/before

Method.

[Experimental]

The ChildNode.before() method inserts a set of `web.Node` or
objects in the children list of this ChildNode's parent, just
this ChildNode. `web.dom.DOMString` objects are inserted as equivalent
nodes.

`[Throws, Unscopable]
void ChildNode.before((Node or DOMString)... nodes);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/before`
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.web-components.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.web-components.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.ParentNode property children is a read-only property returns a live web.dom.HTMLCollection which contains all of child 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.ParentNode` property children is a read-only property
returns a live `web.dom.HTMLCollection` which contains all of
child `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

class-listcljs

(class-list this)

Property.

[Read Only]

The Element.classList is a read-only property that returns a web.dom.DOMTokenList collection of the class attributes of element.

`const elementClasses = elementNodeReference.classList;

elementClasses is a web.dom.DOMTokenList representing the class attribute of elementNodeReference. If the class attribute was not set or is empty elementClasses.length returns 0. element.classList itself is read-only, although you can modify it using the add() and remove() methods.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/classList

Property.

[Read Only]

The Element.classList is a read-only property that returns a
`web.dom.DOMTokenList` collection of the class attributes of
element.

`const elementClasses = elementNodeReference.classList;

elementClasses is a `web.dom.DOMTokenList` representing the class attribute of elementNodeReference. If the class attribute was not set or is empty elementClasses.length returns 0. element.classList itself is read-only, although you can modify it using the add() and remove() methods.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/classList`
sourceraw docstring

class-namecljs

(class-name this)

Property.

The className property of the web.Element interface gets and the value of the class of the specified element.

`var cName = elementNodeReference.className; elementNodeReference.className = cName;

cName is a string variable representing the class or space-separated classes of the current element.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/className

Property.

The className property of the `web.Element` interface gets and
the value of the `class` of the specified element.

`var cName = elementNodeReference.className;
elementNodeReference.className = cName;


cName is a string variable representing the class or space-separated classes of the current element.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/className`
sourceraw docstring

client-heightcljs

(client-height this)

Property.

[Read Only]

The Element.clientHeight read-only property is zero for elements no CSS or inline layout boxes; otherwise, it's the inner height an element in pixels. It includes padding but excludes borders, and horizontal scrollbars (if present).

`var intElemClientHeight = element.clientHeight;

intElemClientHeight is an integer corresponding to the clientHeight of element in pixels. The clientHeight property is read–only.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight

Property.

[Read Only]

The Element.clientHeight read-only property is zero for elements
no CSS or inline layout boxes; otherwise, it's the inner height
an element in pixels. It includes padding but excludes borders,
and horizontal scrollbars (if present).

`var intElemClientHeight = element.clientHeight;

intElemClientHeight is an integer corresponding to the clientHeight of element in pixels. The clientHeight property is read–only.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight`
sourceraw docstring

client-leftcljs

(client-left this)

Property.

[Read Only]

The width of the left border of an element in pixels. It includes width of the vertical scrollbar if the text direction of the is right–to–left and if there is an overflow causing a left vertical to be rendered. clientLeft does not include the left margin or left padding. clientLeft is read-only.

var left = element.clientLeft;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/clientLeft

Property.

[Read Only]

The width of the left border of an element in pixels. It includes
width of the vertical scrollbar if the text direction of the
is right–to–left and if there is an overflow causing a left vertical
to be rendered. clientLeft does not include the left margin or
left padding. clientLeft is read-only.

`var left = element.clientLeft;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/clientLeft`
sourceraw docstring

client-topcljs

(client-top this)

Property.

[Read Only]

The width of the top border of an element in pixels. It is a integer property of element.

var top = element.clientTop;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/clientTop

Property.

[Read Only]

The width of the top border of an element in pixels. It is a
integer property of element.

`var top = element.clientTop;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/clientTop`
sourceraw docstring

client-widthcljs

(client-width this)

Property.

[Read Only]

The Element.clientWidth property is zero for inline elements elements with no CSS; otherwise, it's the inner width of an element pixels. It includes padding but excludes borders, margins, and scrollbars (if present).

`var intElemClientWidth = element.clientWidth;

intElemClientWidth is an integer corresponding to the clientWidth of element in pixels. The clientWidth property is read–only.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/clientWidth

Property.

[Read Only]

The Element.clientWidth property is zero for inline elements
elements with no CSS; otherwise, it's the inner width of an element
pixels. It includes padding but excludes borders, margins, and
scrollbars (if present).

`var intElemClientWidth = element.clientWidth;

intElemClientWidth is an integer corresponding to the clientWidth of element in pixels. The clientWidth property is read–only.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/clientWidth`
sourceraw docstring

closestcljs

(closest this selectors)

Method.

For browsers that do not support Element.closest(), but carry for element.matches() (or a prefixed equivalent, meaning IE9+), polyfill exists:

var closestElement = element.closest(selectors);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/closest

Method.

For browsers that do not support Element.closest(), but carry
for element.matches() (or a prefixed equivalent, meaning IE9+),
polyfill exists:

`var closestElement = element.closest(selectors);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/closest`
sourceraw docstring

computed-namecljs

(computed-name this)

Property.

Returns a DOMString containing the label exposed to accessibility.

Property.

Returns a DOMString containing the label exposed to accessibility.
sourceraw docstring

computed-rolecljs

(computed-role this)

Property.

Returns a DOMString containing the ARIA role that has been applied a particular element.

Property.

Returns a DOMString containing the ARIA role that has been applied
a particular element.
sourceraw docstring

computed-style-mapcljs

(computed-style-map this)

Method.

[Experimental]

The computedStyleMap() method of the web.Element interface a web.css.StylePropertyMapReadOnly interface which provides read-only representation of a CSS declaration block that is an to web.cssdom.CSSStyleDeclaration.

var stylePropertyMapReadOnly = Element.computedStyleMap()

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/computedStyleMap

Method.

[Experimental]

The computedStyleMap() method of the `web.Element` interface
a `web.css.StylePropertyMapReadOnly` interface which provides
read-only representation of a CSS declaration block that is an
to `web.cssdom.CSSStyleDeclaration`.

`var stylePropertyMapReadOnly = Element.computedStyleMap()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/computedStyleMap`
sourceraw docstring

create-shadow-rootcljs

(create-shadow-root this)

Method.

[Deprecated] [Non Standard] [Draft]

Use Element.createShadowRoot to create an instance of shadow When shadow DOM is created, it is always attached to an existing After the shadow DOM is created, the element that it is attached is called the shadow root.

var shadowroot = element.createShadowRoot();

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/createShadowRoot

Method.

[Deprecated]
[Non Standard]
[Draft]

Use Element.createShadowRoot to create an instance of shadow
When shadow DOM is created, it is always attached to an existing
After the shadow DOM is created, the element that it is attached
is called the shadow root.

`var shadowroot = element.createShadowRoot();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/createShadowRoot`
sourceraw docstring

current-stylecljs

(current-style this)

Property.

[Non Standard]

Element.currentStyle is a proprietary property which is similar the standardized window.getComputedStyle() method.

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/currentStyle

Property.

[Non Standard]

Element.currentStyle is a proprietary property which is similar
the standardized `window.getComputedStyle()` method.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/currentStyle`
sourceraw docstring

dispatch-eventcljs

(dispatch-event this event)

Method.

Dispatches an web.event.Event at the specified web.EventTarget, invoking the affected web.EventListeners in the appropriate The normal event processing rules (including the capturing and bubbling phase) also apply to events dispatched manually with

cancelled = !target.dispatchEvent(event)

See also: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent

Method.

Dispatches an `web.event.Event` at the specified `web.EventTarget`,
invoking the affected `web.EventListener`s in the appropriate
The normal event processing rules (including the capturing and
bubbling phase) also apply to events dispatched manually with

`cancelled = !target.dispatchEvent(event)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent`
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

get-animationscljs

(get-animations this options)

Method.

[Experimental]

The getAnimations() method of the web.Element interface (specified the Animatable mixin) returns an array of all web.animation.Animation affecting this element or which are scheduled to do so in future. can optionally return web.animation.Animation objects for descendant too.

const animations = Element.getAnimations(options);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getAnimations

Method.

[Experimental]

The getAnimations() method of the `web.Element` interface (specified
the Animatable mixin) returns an array of all `web.animation.Animation`
affecting this element or which are scheduled to do so in future.
can optionally return `web.animation.Animation` objects for descendant
too.

`const animations = Element.getAnimations(options);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getAnimations`
sourceraw docstring

get-attributecljs

(get-attribute this & args)

Method.

The getAttribute() method of the web.Element interface returns value of a specified attribute on the element.

`var attribute = element.getAttribute(attributeName);

where

attribute is a string containing the value of attributeName. attributeName is the name of the attribute whose value you want to get.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute

Method.

The getAttribute() method of the `web.Element` interface returns
value of a specified attribute on the element.

`var attribute = element.getAttribute(attributeName);

where


attribute is a string containing the value of attributeName.
attributeName is the name of the attribute whose value you want to get.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute`
sourceraw docstring

get-attribute-namescljs

(get-attribute-names this)

Method.

The getAttributeNames() method of the web.Element interface the attribute names of the element as an js.Array of strings. the element has no attributes it returns an empty array.

let attributeNames = element.getAttributeNames();

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNames

Method.

The getAttributeNames() method of the `web.Element` interface
the attribute names of the element as an `js.Array` of strings.
the element has no attributes it returns an empty array.

`let attributeNames = element.getAttributeNames();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNames`
sourceraw docstring

get-attribute-nodecljs

(get-attribute-node this & args)

Method.

Returns the specified attribute of the specified element, as Attr node.

`var attrNode = element.getAttributeNode(attrName);

attrNode is an Attr node for the attribute. attrName is a string containing the name of the attribute.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNode

Method.

Returns the specified attribute of the specified element, as
Attr node.

`var attrNode = element.getAttributeNode(attrName);


attrNode is an Attr node for the attribute.
attrName is a string containing the name of the attribute.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNode`
sourceraw docstring

get-attribute-node-nscljs

(get-attribute-node-ns this & args)

Method.

Returns the Attr node for the attribute with the given namespace name.

`attributeNode = element.getAttributeNodeNS(namespace, nodeName)

attributeNode is the node for specified attribute. namespace is a string specifying the namespace of the attribute. nodeName is a string specifying the name of the attribute.

== Example == TBD The example needs to be fixed pre> // html: <div id="top" /> t = document.getElementById("top"); specialNode = t.getAttributeNodeNS( "http://www.mozilla.org/ns/specialspace", "id"); // iNode.value = "full-top" </pre`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNodeNS

Method.

Returns the Attr node for the attribute with the given namespace
name.

`attributeNode = element.getAttributeNodeNS(namespace, nodeName)


attributeNode is the node for specified attribute.
namespace is a string specifying the namespace of the attribute.
nodeName is a string specifying the name of the attribute.


== Example == TBD The example needs to be fixed pre> // html: <div id=\"top\" /> t = document.getElementById(\"top\"); specialNode = t.getAttributeNodeNS( \"http://www.mozilla.org/ns/specialspace\", \"id\"); // iNode.value = \"full-top\" </pre`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNodeNS`
sourceraw docstring

get-attribute-nscljs

(get-attribute-ns this namespace name)

Method.

The getAttributeNS() method of the web.Element interface returns string value of the attribute with the specified namespace and If the named attribute does not exist, the value returned will be null or "" (the empty string); see Notes for details.

attrVal = element.getAttributeNS(namespace, name)

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNS

Method.

The getAttributeNS() method of the `web.Element` interface returns
string value of the attribute with the specified namespace and
If the named attribute does not exist, the value returned will
be null or \"\" (the empty string); see Notes for details.

`attrVal = element.getAttributeNS(namespace, name)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNS`
sourceraw docstring

get-bounding-client-rectcljs

(get-bounding-client-rect this)

Method.

The Element.getBoundingClientRect() method returns the size of element and its position relative to the viewport.

domRect = element.getBoundingClientRect();

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect

Method.

The Element.getBoundingClientRect() method returns the size of
element and its position relative to the viewport.

`domRect = element.getBoundingClientRect();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect`
sourceraw docstring

get-client-rectscljs

(get-client-rects this)

Method.

The getClientRects() method of the web.Element interface returns collection of web.dom.DOMRect objects that indicate the bounding for each CSS border box in a client.

let rectCollection = object.getClientRects();

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getClientRects

Method.

The getClientRects() method of the `web.Element` interface returns
collection of `web.dom.DOMRect` objects that indicate the bounding
for each CSS border box in a client.

`let rectCollection = object.getClientRects();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getClientRects`
sourceraw docstring

get-elements-by-class-namecljs

(get-elements-by-class-name this names)

Method.

The web.Element method getElementsByClassName() returns a live which contains every descendant element which has the specified name or names.

var elements = element.getElementsByClassName(names);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByClassName

Method.

The `web.Element` method getElementsByClassName() returns a live
which contains every descendant element which has the specified
name or names.

`var elements = element.getElementsByClassName(names);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByClassName`
sourceraw docstring

get-elements-by-tag-namecljs

(get-elements-by-tag-name this & args)

Method.

The Element.getElementsByTagName() method returns a live web.dom.HTMLCollection elements with the given tag name.

`elements = element.getElementsByTagName(tagName)

\telements is a live web.dom.HTMLCollection of elements with a matching tag name, in the order they appear. If no elements are found, the HTMLCollection is empty. \telement is the element from where the search starts. Only the element's descendants are included, not the element itself. \ttagName is the qualified name to look for. The special string "*" represents all elements. For compatibility with XHTML, lower-case should be used.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagName

Method.

The Element.getElementsByTagName() method returns a live `web.dom.HTMLCollection`
elements with the given tag name.

`elements = element.getElementsByTagName(tagName)


\telements is a live `web.dom.HTMLCollection` of elements with a matching tag name, in the order they appear. If no elements are found, the HTMLCollection is empty.
\telement is the element from where the search starts. Only the element's descendants are included, not the element itself.
\ttagName is the qualified name to look for. The special string \"*\" represents all elements. For compatibility with XHTML, lower-case should be used.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagName`
sourceraw docstring

get-elements-by-tag-name-nscljs

(get-elements-by-tag-name-ns this & args)

Method.

The Element.getElementsByTagNameNS() method returns a live web.dom.HTMLCollection elements with the given tag name belonging to the given namespace. is similar to Document.getElementsByTagNameNS, except that search is restricted to descendants of the specified element.

`elements = element.getElementsByTagNameNS(namespaceURI, localName)

elements is a live web.dom.HTMLCollection of found elements in the order they appear in the tree. element is the element from where the search should start. Note that only the descendants of this element are included in the search, not the node itself. namespaceURI is the namespace URI of elements to look for (see Element.namespaceURI and Attr.namespaceURI). For example, if you need to look for XHTML elements, use the XHTML namespace URI, http://www.w3.org/1999/xhtml. localName is either the local name of elements to look for or the special value "*", which matches all elements (see Element.localName and Attr.localName).`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagNameNS

Method.

The Element.getElementsByTagNameNS() method returns a live `web.dom.HTMLCollection`
elements with the given tag name belonging to the given namespace.
is similar to `Document.getElementsByTagNameNS`, except that
search is restricted to descendants of the specified element.

`elements = element.getElementsByTagNameNS(namespaceURI, localName)


elements is a live `web.dom.HTMLCollection` of found elements in the order they appear in the tree.
element is the element from where the search should start. Note that only the descendants of this element are included in the search, not the node itself.
namespaceURI is the namespace URI of elements to look for (see `Element.namespaceURI` and `Attr.namespaceURI`). For example, if you need to look for XHTML elements, use the XHTML namespace URI, http://www.w3.org/1999/xhtml.
localName is either the local name of elements to look for or the special value \"*\", which matches all elements (see `Element.localName` and `Attr.localName`).`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagNameNS`
sourceraw docstring

has-attributecljs

(has-attribute this & args)

Method.

The Element.hasAttribute() method returns a Boolean value indicating the specified element has the specified attribute or not.

`var result = element.hasAttribute(name);

result holds the return value true or false. name is a string representing the name of the attribute.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute

Method.

The Element.hasAttribute() method returns a Boolean value indicating
the specified element has the specified attribute or not.

`var result = element.hasAttribute(name);


result
holds the return value true or false.
name
is a string representing the name of the attribute.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute`
sourceraw docstring

has-attribute-nscljs

(has-attribute-ns this & args)

Method.

hasAttributeNS returns a boolean value indicating whether the element has the specified attribute.

`result = element.hasAttributeNS(namespace,localName)

result is the boolean value true or false. namespace is a string specifying the namespace of the attribute. localName is the name of the attribute.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributeNS

Method.

hasAttributeNS returns a boolean value indicating whether the
element has the specified attribute.

`result = element.hasAttributeNS(namespace,localName)


result is the boolean value true or false.
namespace is a string specifying the namespace of the attribute.
localName is the name of the attribute.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributeNS`
sourceraw docstring

has-attributescljs

(has-attributes this)

Method.

The hasAttributes() method of the web.Element interface returns js.Boolean indicating whether the current element has any attributes not.

var result = element.hasAttributes();

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributes

Method.

The hasAttributes() method of the `web.Element` interface returns
`js.Boolean` indicating whether the current element has any attributes
not.

`var result = element.hasAttributes();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributes`
sourceraw docstring

has-pointer-capturecljs

(has-pointer-capture this pointer-id)

Method.

The hasPointerCapture() method of the web.Element interface whether the element on which it is invoked has pointer capture the pointer identified by the given pointer ID.

targetElement.hasPointerCapture(pointerId);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/hasPointerCapture

Method.

The hasPointerCapture() method of the `web.Element` interface
whether the element on which it is invoked has pointer capture
the pointer identified by the given pointer ID.

`targetElement.hasPointerCapture(pointerId);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/hasPointerCapture`
sourceraw docstring

idcljs

(id this)

Property.

The id property of the web.Element interface represents the identifier, reflecting the id global attribute.

`var idStr = element.id; // Get the id element.id = idStr; // Set the id

idStr is the identifier of the element.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/id

Property.

The id property of the `web.Element` interface represents the
identifier, reflecting the id global attribute.

`var idStr = element.id; // Get the id
element.id = idStr; // Set the id


idStr is the identifier of the element.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/id`
sourceraw docstring

inner-htmlcljs

(inner-html this)

Property.

The web.Element property innerHTML gets or sets the HTML or markup contained within the element.

`const content = element.innerHTML;

element.innerHTML = htmlString;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML

Property.

The `web.Element` property innerHTML gets or sets the HTML or
markup contained within the element.

`const content = element.innerHTML;

element.innerHTML = htmlString;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML`
sourceraw docstring

insert-adjacent-elementcljs

(insert-adjacent-element this position element)

Method.

The insertAdjacentElement() method of the web.Element interface a given element node at a given position relative to the element is invoked upon.

targetElement.insertAdjacentElement(position, element);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentElement

Method.

The insertAdjacentElement() method of the `web.Element` interface
a given element node at a given position relative to the element
is invoked upon.

`targetElement.insertAdjacentElement(position, element);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentElement`
sourceraw docstring

insert-adjacent-htmlcljs

(insert-adjacent-html this position text)

Method.

The insertAdjacentHTML() method of the web.Element interface the specified text as HTML or XML and inserts the resulting nodes the DOM tree at a specified position. It does not reparse the it is being used on, and thus it does not corrupt the existing inside that element. This avoids the extra step of serialization, it much faster than direct innerHTML manipulation.

element.insertAdjacentHTML(position, text);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML

Method.

The insertAdjacentHTML() method of the `web.Element` interface
the specified text as HTML or XML and inserts the resulting nodes
the DOM tree at a specified position. It does not reparse the
it is being used on, and thus it does not corrupt the existing
inside that element. This avoids the extra step of serialization,
it much faster than direct `innerHTML` manipulation.

`element.insertAdjacentHTML(position, text);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML`
sourceraw docstring

insert-adjacent-textcljs

(insert-adjacent-text this position element)

Method.

The insertAdjacentText() method of the web.Element interface a given text node at a given position relative to the element is invoked upon.

element.insertAdjacentText(position, element);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentText

Method.

The insertAdjacentText() method of the `web.Element` interface
a given text node at a given position relative to the element
is invoked upon.

`element.insertAdjacentText(position, element);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentText`
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

local-namecljs

(local-name this)

Property.

[Read Only]

The Element.localName read-only property returns the local part the qualified name of an element.

name = element.localName

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/localName

Property.

[Read Only]

The Element.localName read-only property returns the local part
the qualified name of an element.

`name = element.localName`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/localName`
sourceraw docstring

matchescljs

(matches this selector-string)

Method.

selectorString is a string representing the selector to test.

var result = element.matches(selectorString);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/matches

Method.

selectorString is a string representing the selector to test.

`var result = element.matches(selectorString);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/matches`
sourceraw docstring

ms-zoom-tocljs

(ms-zoom-to this & args)

Method.

[Non Standard]

The msZoomTo method scrolls and/or zooms an element to its specified with animation.

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/msZoomTo

Method.

[Non Standard]

The msZoomTo method scrolls and/or zooms an element to its specified
with animation.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/msZoomTo`
sourceraw docstring

namecljs

(name this)

Property.

name gets or sets the name property of an element in the DOM. only applies to the following elements: <a>, <applet>, <button>, <frame>, <iframe>, <img>, <input>, <map>, <meta>, <param>, <select>, and <textarea>.

`HTMLElement.name = string; var elName = HTMLElement.name;

var fControl = HTMLFormElement.elementName; var controlCollection = HTMLFormElement.elements.elementName;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/name

Property.

name gets or sets the name property of an element in the DOM.
only applies to the following elements: `<a>`, `<applet>`, `<button>`,
`<frame>`, `<iframe>`, `<img>`, `<input>`, `<map>`, `<meta>`,
`<param>`, `<select>`, and `<textarea>`.

`HTMLElement.name = string;
var elName = HTMLElement.name;

var fControl = HTMLFormElement.elementName;
var controlCollection = HTMLFormElement.elements.elementName;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/name`
sourceraw docstring

namespace-uricljs

(namespace-uri this)

Property.

[Read Only]

The Element.namespaceURI read-only property returns the namespace of the element, or null if the element is not in a namespace.

namespace = element.namespaceURI

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/namespaceURI

Property.

[Read Only]

The Element.namespaceURI read-only property returns the namespace
of the element, or null if the element is not in a namespace.

`namespace = element.namespaceURI`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/namespaceURI`
sourceraw docstring

next-element-siblingcljs

(next-element-sibling this)

Property.

[Read Only]

The NonDocumentTypeChildNode.nextElementSibling read-only property the element immediately following the specified one in its parent's list, or null if the specified element is the last one in the

var nextNode = elementNodeReference.nextElementSibling;

See also: https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/nextElementSibling

Property.

[Read Only]

The NonDocumentTypeChildNode.nextElementSibling read-only property
the element immediately following the specified one in its parent's
list, or null if the specified element is the last one in the

`var nextNode = elementNodeReference.nextElementSibling;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/nextElementSibling`
sourceraw docstring

onfullscreenchangecljs

(onfullscreenchange this)

Property.

The web.Element interface's onfullscreenchange property is event handler for the fullscreenchange event that is fired when element has transitioned into or out of full-screen mode.

targetDocument.onfullscreenchange = fullscreenChangeHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/onfullscreenchange

Property.

The `web.Element` interface's onfullscreenchange property is
event handler for the fullscreenchange event that is fired when
element has transitioned into or out of full-screen mode.

`targetDocument.onfullscreenchange = fullscreenChangeHandler;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/onfullscreenchange`
sourceraw docstring

onfullscreenerrorcljs

(onfullscreenerror this)

Property.

The web.Element interface's onfullscreenerror property is an handler for the fullscreenerror event which is sent to the element an error occurs while attempting to transition into or out of mode.

targetElement.onfullscreenerror = fullscreenErrorHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/onfullscreenerror

Property.

The `web.Element` interface's onfullscreenerror property is an
handler for the fullscreenerror event which is sent to the element
an error occurs while attempting to transition into or out of
mode.

`targetElement.onfullscreenerror = fullscreenErrorHandler;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/onfullscreenerror`
sourceraw docstring

open-or-closed-shadow-rootcljs

(open-or-closed-shadow-root this)

Property.

[Read Only] [Non Standard] [Draft]

The Element.openOrCloseShadowRoot read-only property represents shadow root hosted by the element, regardless if its mode is or closed.

var shadowroot = element.shadowRoot;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/openOrClosedShadowRoot

Property.

[Read Only]
[Non Standard]
[Draft]

The Element.openOrCloseShadowRoot read-only property represents
shadow root hosted by the element, regardless if its `mode` is
or closed.

`var shadowroot = element.shadowRoot;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/openOrClosedShadowRoot`
sourceraw docstring

outer-htmlcljs

(outer-html this)

Property.

The outerHTML attribute of the web.Element DOM interface gets serialized HTML fragment describing the element including its It can also be set to replace the element with nodes parsed from given string.

`var content = element.outerHTML;

element.outerHTML = htmlString;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML

Property.

The outerHTML attribute of the `web.Element` DOM interface gets
serialized HTML fragment describing the element including its
It can also be set to replace the element with nodes parsed from
given string.

`var content = element.outerHTML;

element.outerHTML = htmlString;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML`
sourceraw docstring

prefixcljs

(prefix this)

Property.

[Read Only]

The Element.prefix read-only property returns the namespace prefix the specified element, or null if no prefix is specified.

string = element.prefix

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/prefix

Property.

[Read Only]

The Element.prefix read-only property returns the namespace prefix
the specified element, or null if no prefix is specified.

`string = element.prefix`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/prefix`
sourceraw docstring

prependcljs

(prepend this & args)

Method.

The ParentNode.prepend() method inserts a set of web.Node objects web.dom.DOMString objects before the first child of the web.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.dom.DOMString` objects before the first child of the `web.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

previous-element-siblingcljs

(previous-element-sibling this)

Property.

[Read Only]

The NonDocumentTypeChildNode.previousElementSibling read-only returns the web.Element immediately prior to the specified in its parent's children list, or null if the specified element the first one in the list.

prevNode = elementNodeReference.previousElementSibling;

See also: https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/previousElementSibling

Property.

[Read Only]

The NonDocumentTypeChildNode.previousElementSibling read-only
returns the `web.Element` immediately prior to the specified
in its parent's children list, or null if the specified element
the first one in the list.

`prevNode = elementNodeReference.previousElementSibling;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/previousElementSibling`
sourceraw docstring

pseudocljs

(pseudo this & args)

Method.

Returns a CSSPseudoElement representing the child pseudo-element by the specified pseudo-element selector.

Method.

Returns a CSSPseudoElement representing the child pseudo-element
by the specified pseudo-element selector.
sourceraw docstring

query-selectorcljs

(query-selector this selectors)

Method.

The querySelector() method of the web.Element interface returns first element that is a descendant of the element on which it invoked that matches the specified group of selectors.

element = baseElement.querySelector(selectors);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector

Method.

The querySelector() method of the `web.Element` interface returns
first element that is a descendant of the element on which it
invoked that matches the specified group of selectors.

`element = baseElement.querySelector(selectors);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector`
sourceraw docstring

query-selector-allcljs

(query-selector-all this selectors)

Method.

The web.Element method querySelectorAll() returns a static live) web.NodeList representing a list of elements matching specified group of selectors which are descendants of the element which the method was called.

elementList = parentNode.querySelectorAll(selectors);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll

Method.

The `web.Element` method querySelectorAll() returns a static
live) `web.NodeList` representing a list of elements matching
specified group of selectors which are descendants of the element
which the method was called.

`elementList = parentNode.querySelectorAll(selectors);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll`
sourceraw docstring

release-pointer-capturecljs

(release-pointer-capture this pointer-id)

Method.

The releasePointerCapture() method of the web.Element interface (stops) pointer capture that was previously set for a specific pointer.

targetElement.releasePointerCapture(pointerId);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/releasePointerCapture

Method.

The releasePointerCapture() method of the `web.Element` interface
(stops) pointer capture that was previously set for a specific
pointer.

`targetElement.releasePointerCapture(pointerId);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/releasePointerCapture`
sourceraw docstring

removecljs

(remove this)

Method.

The ChildNode.remove() method removes the object from the tree belongs to.

node.remove();

See also: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove

Method.

The ChildNode.remove() method removes the object from the tree
belongs to.

`node.remove();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove`
sourceraw docstring

remove-attributecljs

(remove-attribute this attr-name)

Method.

The web.Element method removeAttribute() removes the attribute the specified name from the element.

element.removeAttribute(attrName);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute

Method.

The `web.Element` method removeAttribute() removes the attribute
the specified name from the element.

`element.removeAttribute(attrName);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute`
sourceraw docstring

remove-attribute-nodecljs

(remove-attribute-node this & args)

Method.

The removeAttributeNode() method of the web.Element object the specified attribute from the current element.

`removedAttr = element.removeAttributeNode(attributeNode)

attributeNode is the Attr node that needs to be removed. removedAttr is the removed Attr node.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNode

Method.

The removeAttributeNode() method of the `web.Element` object
the specified attribute from the current element.

`removedAttr = element.removeAttributeNode(attributeNode)


attributeNode is the Attr node that needs to be removed.
removedAttr is the removed Attr node.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNode`
sourceraw docstring

remove-attribute-nscljs

(remove-attribute-ns this namespace attr-name)

Method.

The removeAttributeNS() method of the web.Element interface the specified attribute from an element.

element.removeAttributeNS(namespace, attrName);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNS

Method.

The removeAttributeNS() method of the `web.Element` interface
the specified attribute from an element.

`element.removeAttributeNS(namespace, attrName);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNS`
sourceraw docstring

remove-event-listenercljs

(remove-event-listener this & args)

Method.

The EventTarget.removeEventListener() method removes from the an event listener previously registered with EventTarget.addEventListener(). event listener to be removed is identified using a combination the event type, the event listener function itself, and various options that may affect the matching process; see Matching event for removal

target.removeEventListener(type, listener[, options]); target.removeEventListener(type, listener[, useCapture]);

See also: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener

Method.

The EventTarget.removeEventListener() method removes from the
an event listener previously registered with `EventTarget.addEventListener()`.
event listener to be removed is identified using a combination
the event type, the event listener function itself, and various
options that may affect the matching process; see Matching event
for removal

`target.removeEventListener(type, listener[, options]);
target.removeEventListener(type, listener[, useCapture]);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener`
sourceraw docstring

replace-withcljs

(replace-with this & args)

Method.

[Experimental]

The ChildNode.replaceWith() method replaces this ChildNode in children list of its parent with a set of web.Node or web.dom.DOMString web.dom.DOMString objects are inserted as equivalent web.Text

[Throws, Unscopable] void ChildNode.replaceWith((Node or DOMString)... nodes);

See also: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith

Method.

[Experimental]

The ChildNode.replaceWith() method replaces this ChildNode in
children list of its parent with a set of `web.Node` or `web.dom.DOMString`
`web.dom.DOMString` objects are inserted as equivalent `web.Text`

`[Throws, Unscopable]
void ChildNode.replaceWith((Node or DOMString)... nodes);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith`
sourceraw docstring

request-fullscreencljs

(request-fullscreen this options)

Method.

The Element.requestFullscreen() method issues an asynchronous to make the element be displayed in full-screen mode.

var Promise = Element.requestFullscreen(options);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen

Method.

The Element.requestFullscreen() method issues an asynchronous
to make the element be displayed in full-screen mode.

`var Promise = Element.requestFullscreen(options);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen`
sourceraw docstring

request-pointer-lockcljs

(request-pointer-lock this)

Method.

[Experimental]

The Element.requestPointerLock() method lets you asynchronously for the pointer to be locked on the given element.

instanceOfElement.requestPointerLock();

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/requestPointerLock

Method.

[Experimental]

The Element.requestPointerLock() method lets you asynchronously
for the pointer to be locked on the given element.

`instanceOfElement.requestPointerLock();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/requestPointerLock`
sourceraw docstring

runtime-stylecljs

(runtime-style this)

Property.

[Non Standard]

Element.runtimeStyle is a proprietary property similar to HTMLElement.style, its styles, that have higher precedence and modification.

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/runtimeStyle

Property.

[Non Standard]

Element.runtimeStyle is a proprietary property similar to `HTMLElement.style`,
its styles, that have higher precedence and modification.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/runtimeStyle`
sourceraw docstring

scrollcljs

(scroll this & args)

Method.

The scroll() method of the web.Element interface scrolls the to a particular set of coordinates inside a given element.

element.scroll(x-coord, y-coord) element.scroll(options)

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll

Method.

The scroll() method of the `web.Element` interface scrolls the
to a particular set of coordinates inside a given element.

`element.scroll(x-coord, y-coord)
element.scroll(options)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll`
sourceraw docstring

scroll-bycljs

(scroll-by this & args)

Method.

The scrollBy() method of the web.Element interface scrolls element by the given amount.

element.scrollBy(x-coord, y-coord); element.scrollBy(options)

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy

Method.

The scrollBy() method of the `web.Element` interface scrolls
element by the given amount.

`element.scrollBy(x-coord, y-coord);
element.scrollBy(options)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy`
sourceraw docstring

scroll-heightcljs

(scroll-height this)

Property.

[Read Only]

The Element.scrollHeight read-only property is a measurement the height of an element's content, including content not visible the screen due to overflow.

`var intElemScrollHeight = element.scrollHeight;

intElemScrollHeight is a variable storing an integer corresponding to the scrollHeight pixel value of the element. The scrollHeight property is read-only.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight

Property.

[Read Only]

The Element.scrollHeight read-only property is a measurement
the height of an element's content, including content not visible
the screen due to overflow.

`var intElemScrollHeight = element.scrollHeight;

intElemScrollHeight is a variable storing an integer corresponding to the scrollHeight pixel value of the element. The scrollHeight property is read-only.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight`
sourceraw docstring

scroll-into-viewcljs

(scroll-into-view this & args)

Method.

The web.Element interface's scrollIntoView() method scrolls element's parent container such that the element on which scrollIntoView() called is visible to the user

element.scrollIntoView(); element.scrollIntoView(alignToTop); // Boolean parameter element.scrollIntoView(scrollIntoViewOptions); // Object parameter

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView

Method.

The `web.Element` interface's scrollIntoView() method scrolls
element's parent container such that the element on which scrollIntoView()
called is visible to the user

`element.scrollIntoView();
element.scrollIntoView(alignToTop); // Boolean parameter
element.scrollIntoView(scrollIntoViewOptions); // Object parameter`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView`
sourceraw docstring

scroll-into-view-if-neededcljs

(scroll-into-view-if-needed this)

Method.

[Non Standard]

The Element.scrollIntoViewIfNeeded() method scrolls the current into the visible area of the browser window if it's not already the visible area of the browser window. If the element is already the visible area of the browser window, then no scrolling takes This method is a proprietary variation of the standard Element.scrollIntoView()

TODO

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoViewIfNeeded

Method.

[Non Standard]

The Element.scrollIntoViewIfNeeded() method scrolls the current
into the visible area of the browser window if it's not already
the visible area of the browser window. If the element is already
the visible area of the browser window, then no scrolling takes
This method is a proprietary variation of the standard `Element.scrollIntoView()`

`TODO`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoViewIfNeeded`
sourceraw docstring

scroll-leftcljs

(scroll-left this)

Property.

The Element.scrollLeft property gets or sets the number of pixels an element's content is scrolled from its left edge.

``

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft

Property.

The Element.scrollLeft property gets or sets the number of pixels
an element's content is scrolled from its left edge.

``

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft`
sourceraw docstring

scroll-left-maxcljs

(scroll-left-max this)

Property.

[Read Only] [Non Standard]

The Element.scrollLeftMax read-only property returns a js.Number the maximum left scroll offset possible for the element.

var pxl = element.scrollLeftMax;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeftMax

Property.

[Read Only]
[Non Standard]

The Element.scrollLeftMax read-only property returns a `js.Number`
the maximum left scroll offset possible for the element.

`var pxl = element.scrollLeftMax;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeftMax`
sourceraw docstring

scroll-tocljs

(scroll-to this & args)

Method.

The scrollTo() method of the web.Element interface scrolls a particular set of coordinates inside a given element.

element.scrollTo(x-coord, y-coord) element.scrollTo(options)

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo

Method.

The scrollTo() method of the `web.Element` interface scrolls
a particular set of coordinates inside a given element.

`element.scrollTo(x-coord, y-coord)
element.scrollTo(options)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo`
sourceraw docstring

scroll-topcljs

(scroll-top this)

Property.

The Element.scrollTop property gets or sets the number of pixels an element's content is scrolled vertically.

`// Get the number of pixels scrolled. var intElemScrollTop = someElement.scrollTop;

After running this code, intElemScrollTop is an integer corresponding to the number of pixels that the element's content has been scrolled upwards.

// Set the number of pixels scrolled. element.scrollTop = intValue;

scrollTop can be set to any integer value, with certain caveats:

If the element can't be scrolled (e.g. it has no overflow or if the element has a property of "non-scrollable"), scrollTop is 0. scrollTop doesn't respond to negative values; instead, it sets itself back to 0. If set to a value greater than the maximum available for the element, scrollTop settles itself to the maximum value.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop

Property.

The Element.scrollTop property gets or sets the number of pixels
an element's content is scrolled vertically.

`// Get the number of pixels scrolled.
var intElemScrollTop = someElement.scrollTop;

After running this code, intElemScrollTop is an integer corresponding to the number of pixels that the `element`'s content has been scrolled upwards.



// Set the number of pixels scrolled.
element.scrollTop = intValue;

scrollTop can be set to any integer value, with certain caveats:


If the element can't be scrolled (e.g. it has no overflow or if the element has a property of \"non-scrollable\"), scrollTop is 0.
scrollTop doesn't respond to negative values; instead, it sets itself back to 0.
If set to a value greater than the maximum available for the element, scrollTop settles itself to the maximum value.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop`
sourceraw docstring

scroll-top-maxcljs

(scroll-top-max this)

Property.

[Read Only] [Non Standard]

The Element.scrollTopMax read-only property returns a js.Number the maximum top scroll offset possible for the element.

var pxl = elt.scrollTopMax;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTopMax

Property.

[Read Only]
[Non Standard]

The Element.scrollTopMax read-only property returns a `js.Number`
the maximum top scroll offset possible for the element.

`var pxl = elt.scrollTopMax;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTopMax`
sourceraw docstring

scroll-widthcljs

(scroll-width this)

Property.

[Read Only]

The Element.scrollWidth read-only property is a measurement of width of an element's content, including content not visible the screen due to overflow.

`var xScrollWidth = element.scrollWidth;

xScrollWidth is the width of the content of element in pixels.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollWidth

Property.

[Read Only]

The Element.scrollWidth read-only property is a measurement of
width of an element's content, including content not visible
the screen due to overflow.

`var xScrollWidth = element.scrollWidth;

xScrollWidth is the width of the content of element in pixels.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollWidth`
sourceraw docstring

set-access-key!cljs

(set-access-key! this val)

Property.

The Element.accessKey property sets the keystroke which a user press to jump to a given element.

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/accessKey

Property.

The Element.accessKey property sets the keystroke which a user
press to jump to a given element.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/accessKey`
sourceraw docstring

set-attributecljs

(set-attribute this name value)

Method.

Sets the value of an attribute on the specified element. If the already exists, the value is updated; otherwise a new attribute added with the specified name and value.

Element.setAttribute(name, value);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute

Method.

Sets the value of an attribute on the specified element. If the
already exists, the value is updated; otherwise a new attribute
added with the specified name and value.

`Element.setAttribute(name, value);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute`
sourceraw docstring

set-attribute-nodecljs

(set-attribute-node this & args)

Method.

The setAttributeNode() method adds a new Attr node to the specified

`var replacedAttr = element.setAttributeNode(attribute);

attribute is the Attr node to set on the element. replacedAttr is the replaced attribute node, if any, returned by this function.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNode

Method.

The setAttributeNode() method adds a new Attr node to the specified

`var replacedAttr = element.setAttributeNode(attribute);


attribute is the Attr node to set on the element.
replacedAttr is the replaced attribute node, if any, returned by this function.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNode`
sourceraw docstring

set-attribute-node-nscljs

(set-attribute-node-ns this & args)

Method.

setAttributeNodeNS adds a new namespaced attribute node to an

`replacedAttr = element.setAttributeNodeNS(attributeNode)

replacedAttr is the replaced attribute node, if any, returned by this function. attributeNode is an Attr node.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNodeNS

Method.

setAttributeNodeNS adds a new namespaced attribute node to an

`replacedAttr = element.setAttributeNodeNS(attributeNode)


replacedAttr is the replaced attribute node, if any, returned by this function.
attributeNode is an Attr node.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNodeNS`
sourceraw docstring

set-attribute-nscljs

(set-attribute-ns this & args)

Method.

setAttributeNS adds a new attribute or changes the value of an with the given namespace and name.

`element.setAttributeNS(namespace, name, value)

namespace is a string specifying the namespace of the attribute. name is a string identifying the attribute by its qualified name; that is, a namespace prefix followed by a colon followed by a local name. value is the desired string value of the new attribute.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNS

Method.

setAttributeNS adds a new attribute or changes the value of an
with the given namespace and name.

`element.setAttributeNS(namespace, name, value)


namespace is a string specifying the namespace of the attribute.
name is a string identifying the attribute by its qualified name; that is, a namespace prefix followed by a colon followed by a local name.
value is the desired string value of the new attribute.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNS`
sourceraw docstring

set-capturecljs

(set-capture this & args)

Method.

[Non Standard]

Call this method during the handling of a mousedown event to all mouse events to this element until the mouse button is released document.releaseCapture() is called.

`element.setCapture(retargetToElement);

retargetToElement If true, all events are targeted directly to this element; if false, events can also fire at descendants of this element.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture

Method.

[Non Standard]

Call this method during the handling of a mousedown event to
all mouse events to this element until the mouse button is released
`document.releaseCapture()` is called.

`element.setCapture(retargetToElement);


retargetToElement
If true, all events are targeted directly to this element; if false, events can also fire at descendants of this element.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture`
sourceraw docstring

set-class-name!cljs

(set-class-name! this val)

Property.

The className property of the web.Element interface gets and the value of the class of the specified element.

`var cName = elementNodeReference.className; elementNodeReference.className = cName;

cName is a string variable representing the class or space-separated classes of the current element.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/className

Property.

The className property of the `web.Element` interface gets and
the value of the `class` of the specified element.

`var cName = elementNodeReference.className;
elementNodeReference.className = cName;


cName is a string variable representing the class or space-separated classes of the current element.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/className`
sourceraw docstring

set-computed-name!cljs

(set-computed-name! this val)

Property.

Returns a DOMString containing the label exposed to accessibility.

Property.

Returns a DOMString containing the label exposed to accessibility.
sourceraw docstring

set-computed-role!cljs

(set-computed-role! this val)

Property.

Returns a DOMString containing the ARIA role that has been applied a particular element.

Property.

Returns a DOMString containing the ARIA role that has been applied
a particular element.
sourceraw docstring

set-current-style!cljs

(set-current-style! this val)

Property.

[Non Standard]

Element.currentStyle is a proprietary property which is similar the standardized window.getComputedStyle() method.

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/currentStyle

Property.

[Non Standard]

Element.currentStyle is a proprietary property which is similar
the standardized `window.getComputedStyle()` method.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/currentStyle`
sourceraw docstring

set-id!cljs

(set-id! this val)

Property.

The id property of the web.Element interface represents the identifier, reflecting the id global attribute.

`var idStr = element.id; // Get the id element.id = idStr; // Set the id

idStr is the identifier of the element.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/id

Property.

The id property of the `web.Element` interface represents the
identifier, reflecting the id global attribute.

`var idStr = element.id; // Get the id
element.id = idStr; // Set the id


idStr is the identifier of the element.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/id`
sourceraw docstring

set-inner-html!cljs

(set-inner-html! this val)

Property.

The web.Element property innerHTML gets or sets the HTML or markup contained within the element.

`const content = element.innerHTML;

element.innerHTML = htmlString;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML

Property.

The `web.Element` property innerHTML gets or sets the HTML or
markup contained within the element.

`const content = element.innerHTML;

element.innerHTML = htmlString;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML`
sourceraw docstring

set-name!cljs

(set-name! this val)

Property.

name gets or sets the name property of an element in the DOM. only applies to the following elements: <a>, <applet>, <button>, <frame>, <iframe>, <img>, <input>, <map>, <meta>, <param>, <select>, and <textarea>.

`HTMLElement.name = string; var elName = HTMLElement.name;

var fControl = HTMLFormElement.elementName; var controlCollection = HTMLFormElement.elements.elementName;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/name

Property.

name gets or sets the name property of an element in the DOM.
only applies to the following elements: `<a>`, `<applet>`, `<button>`,
`<frame>`, `<iframe>`, `<img>`, `<input>`, `<map>`, `<meta>`,
`<param>`, `<select>`, and `<textarea>`.

`HTMLElement.name = string;
var elName = HTMLElement.name;

var fControl = HTMLFormElement.elementName;
var controlCollection = HTMLFormElement.elements.elementName;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/name`
sourceraw docstring

set-onfullscreenchange!cljs

(set-onfullscreenchange! this val)

Property.

The web.Element interface's onfullscreenchange property is event handler for the fullscreenchange event that is fired when element has transitioned into or out of full-screen mode.

targetDocument.onfullscreenchange = fullscreenChangeHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/onfullscreenchange

Property.

The `web.Element` interface's onfullscreenchange property is
event handler for the fullscreenchange event that is fired when
element has transitioned into or out of full-screen mode.

`targetDocument.onfullscreenchange = fullscreenChangeHandler;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/onfullscreenchange`
sourceraw docstring

set-onfullscreenerror!cljs

(set-onfullscreenerror! this val)

Property.

The web.Element interface's onfullscreenerror property is an handler for the fullscreenerror event which is sent to the element an error occurs while attempting to transition into or out of mode.

targetElement.onfullscreenerror = fullscreenErrorHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/onfullscreenerror

Property.

The `web.Element` interface's onfullscreenerror property is an
handler for the fullscreenerror event which is sent to the element
an error occurs while attempting to transition into or out of
mode.

`targetElement.onfullscreenerror = fullscreenErrorHandler;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/onfullscreenerror`
sourceraw docstring

set-outer-html!cljs

(set-outer-html! this val)

Property.

The outerHTML attribute of the web.Element DOM interface gets serialized HTML fragment describing the element including its It can also be set to replace the element with nodes parsed from given string.

`var content = element.outerHTML;

element.outerHTML = htmlString;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML

Property.

The outerHTML attribute of the `web.Element` DOM interface gets
serialized HTML fragment describing the element including its
It can also be set to replace the element with nodes parsed from
given string.

`var content = element.outerHTML;

element.outerHTML = htmlString;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML`
sourceraw docstring

set-pointer-capturecljs

(set-pointer-capture this pointer-id)

Method.

The setPointerCapture() method of the web.Element interface used to designate a specific element as the capture target of pointer events. Subsequent events for the pointer will be targeted the capture element until capture is released (via Element.releasePointerCapture()).

targetElement.setPointerCapture(pointerId);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture

Method.

The setPointerCapture() method of the `web.Element` interface
used to designate a specific element as the capture target of
pointer events. Subsequent events for the pointer will be targeted
the capture element until capture is released (via `Element.releasePointerCapture()`).

`targetElement.setPointerCapture(pointerId);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture`
sourceraw docstring

set-runtime-style!cljs

(set-runtime-style! this val)

Property.

[Non Standard]

Element.runtimeStyle is a proprietary property similar to HTMLElement.style, its styles, that have higher precedence and modification.

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/runtimeStyle

Property.

[Non Standard]

Element.runtimeStyle is a proprietary property similar to `HTMLElement.style`,
its styles, that have higher precedence and modification.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/runtimeStyle`
sourceraw docstring

set-scroll-left!cljs

(set-scroll-left! this val)

Property.

The Element.scrollLeft property gets or sets the number of pixels an element's content is scrolled from its left edge.

``

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft

Property.

The Element.scrollLeft property gets or sets the number of pixels
an element's content is scrolled from its left edge.

``

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft`
sourceraw docstring

set-scroll-top!cljs

(set-scroll-top! this val)

Property.

The Element.scrollTop property gets or sets the number of pixels an element's content is scrolled vertically.

`// Get the number of pixels scrolled. var intElemScrollTop = someElement.scrollTop;

After running this code, intElemScrollTop is an integer corresponding to the number of pixels that the element's content has been scrolled upwards.

// Set the number of pixels scrolled. element.scrollTop = intValue;

scrollTop can be set to any integer value, with certain caveats:

If the element can't be scrolled (e.g. it has no overflow or if the element has a property of "non-scrollable"), scrollTop is 0. scrollTop doesn't respond to negative values; instead, it sets itself back to 0. If set to a value greater than the maximum available for the element, scrollTop settles itself to the maximum value.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop

Property.

The Element.scrollTop property gets or sets the number of pixels
an element's content is scrolled vertically.

`// Get the number of pixels scrolled.
var intElemScrollTop = someElement.scrollTop;

After running this code, intElemScrollTop is an integer corresponding to the number of pixels that the `element`'s content has been scrolled upwards.



// Set the number of pixels scrolled.
element.scrollTop = intValue;

scrollTop can be set to any integer value, with certain caveats:


If the element can't be scrolled (e.g. it has no overflow or if the element has a property of \"non-scrollable\"), scrollTop is 0.
scrollTop doesn't respond to negative values; instead, it sets itself back to 0.
If set to a value greater than the maximum available for the element, scrollTop settles itself to the maximum value.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop`
sourceraw docstring

set-slot!cljs

(set-slot! this val)

Property.

The slot property of the web.Element interface returns the of the shadow DOM slot the element is inserted in.

var aString = element.slot element.slot = aString

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/slot

Property.

The slot property of the `web.Element` interface returns the
of the shadow DOM slot the element is inserted in.

`var aString = element.slot
element.slot = aString`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/slot`
sourceraw docstring

set-tab-stop!cljs

(set-tab-stop! this val)

Property.

[Non Standard] [Obsolute]

The tabStop property of the web.Element interface returns a indicating if the element can receive input focus via the tab If the specified element is a shadow host tab navigation is delegated its children.

var isTabStop = element.tabStop; element.tabStop = (true|false);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/tabStop

Property.

[Non Standard]
[Obsolute]

The tabStop property of the `web.Element` interface returns a
indicating if the element can receive input focus via the tab
If the specified element is a shadow host tab navigation is delegated
its children.

`var isTabStop = element.tabStop;
element.tabStop = (true|false);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/tabStop`
sourceraw docstring

set-undo-manager!cljs

(set-undo-manager! this val)

Property.

Returns the UndoManager associated with the element.

Property.

Returns the UndoManager associated with the element.
sourceraw docstring

set-undo-scope!cljs

(set-undo-scope! this val)

Property.

Is a Boolean indicating if the element is an undo scope host, not.

Property.

Is a Boolean indicating if the element is an undo scope host,
not.
sourceraw docstring

shadow-rootcljs

(shadow-root this)

Property.

[Read Only]

The Element.shadowRoot read-only property represents the shadow hosted by the element.

var shadowroot = element.shadowRoot;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/shadowRoot

Property.

[Read Only]

The Element.shadowRoot read-only property represents the shadow
hosted by the element.

`var shadowroot = element.shadowRoot;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/shadowRoot`
sourceraw docstring

slotcljs

(slot this)

Property.

The slot property of the web.Element interface returns the of the shadow DOM slot the element is inserted in.

var aString = element.slot element.slot = aString

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/slot

Property.

The slot property of the `web.Element` interface returns the
of the shadow DOM slot the element is inserted in.

`var aString = element.slot
element.slot = aString`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/slot`
sourceraw docstring

tab-stopcljs

(tab-stop this)

Property.

[Non Standard] [Obsolute]

The tabStop property of the web.Element interface returns a indicating if the element can receive input focus via the tab If the specified element is a shadow host tab navigation is delegated its children.

var isTabStop = element.tabStop; element.tabStop = (true|false);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/tabStop

Property.

[Non Standard]
[Obsolute]

The tabStop property of the `web.Element` interface returns a
indicating if the element can receive input focus via the tab
If the specified element is a shadow host tab navigation is delegated
its children.

`var isTabStop = element.tabStop;
element.tabStop = (true|false);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/tabStop`
sourceraw docstring

tag-namecljs

(tag-name this)

Property.

[Read Only]

The tagName read-only property of the web.Element interface the tag name of the element on which it's called.

elementName = Element.tagName;

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName

Property.

[Read Only]

The tagName read-only property of the `web.Element` interface
the tag name of the element on which it's called.

`elementName = Element.tagName;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName`
sourceraw docstring

toggle-attributecljs

(toggle-attribute this & args)

Method.

The toggleAttribute() method of the web.Element interface toggles Boolean attribute (removing it if it is present and adding it it is not present) on the given element.

Element.toggleAttribute(name [, force]);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute

Method.

The toggleAttribute() method of the `web.Element` interface toggles
Boolean attribute (removing it if it is present and adding it
it is not present) on the given element.

`Element.toggleAttribute(name [, force]);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute`
sourceraw docstring

undo-managercljs

(undo-manager this)

Property.

Returns the UndoManager associated with the element.

Property.

Returns the UndoManager associated with the element.
sourceraw docstring

undo-scopecljs

(undo-scope this)

Property.

Is a Boolean indicating if the element is an undo scope host, not.

Property.

Is a Boolean indicating if the element is an undo scope host,
not.
sourceraw docstring

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

× close