Element
Represents an element node.
An enumeration with all contenteditable modes.
An enumeration with all dir modes.
Gets the number of child elements.
Gets the child elements.
Gets the list of class names.
Gets or sets the value of the class attribute.
Gets the inner height of this element.
Gets the width of the left border of this element.
Gets the height of the top border of this element.
Gets the inner width of this element.
Gets or sets whether or not the element is editable. This enumerated
attribute can have the values true, false and inherited.
Gets access to all the custom data attributes (data-*) set on the element. It is a map of DOMString,
one entry for each custom data attribute.
Gets or sets the value of the dir attribute.
Gets the first child element of this element.
Gets or sets the value of the id attribute.
Gets or sets the HTML syntax describing the element's descendants.
Gets if the element is currently contenteditable.
Gets if the element has currently focus.
Gets if the element is being hovered.
Gets or sets the value of the lang attribute.
Gets the last child element of this element.
Gets the element immediately following in this node's parent's list of nodes,
or null if the current element is the last element in that list.
Gets the height of this element, relative to the layout.
Gets the distance from this element's left border to its offsetParent's left border.
Gets the element from which all offset calculations are currently computed.
Gets the distance from this element's top border to its offsetParent's top border.
Gets the width of this element, relative to the layout.
Gets or sets the HTML syntax describing the element including its descendants.
Gets the element immediately preceding in this node's parent's list of nodes,
null if the current element is the first element in that list.
Gets the scroll view height of an element.
Gets or sets the left scroll offset of an element.
Gets or sets the top scroll offset of an element.
Gets the scroll view width of an element.
Gets or sets if spell-checking is activated.
Gets an object representing the declarations of an element's style attributes.
Gets or sets the position of the element in the tabbing order.
Gets the tagname of the element.
Gets or sets the value of the title attribute.
Converts the given value to a boolean (or not).
Converts the given value to an enumeration value (or not).
Converts the given value to an integer (or not).
Converts the given value to an unsigned integer (or not).
Inserts nodes after the current node.
Appends nodes to current node.
Inserts nodes before the current node.
Returns the value of the named attribute on the specified element.
Returns the value of the named attribute.
Returns the value of the named attribute.
Returns the value of the named attribute on the specified element.
Returns a set of elements which have all the given class names.
Returns a NodeList of elements with the given tag name. The complete document is searched, including the root node.
Returns a list of elements with the given tag name belonging to the given namespace.
The complete document is searched, including the root node.
Returns a boolean value indicating whether the specified element has the specified attribute or not.
Returns a boolean value indicating whether the specified element has the specified attribute or not.
Normalizes namespace declaration attributes and prefixes as part of the normlize document
method of the document node.
Prepends nodes to the current node.
Returns the first element within the document (using depth-first pre-order traversal
of the document's nodes) that matches the specified group of selectors.
Returns a list of the elements within the document (using depth-first pre-order traversal
of the document's nodes) that match the specified group of selectors.
Removes the current element from the parent.
Removes an attribute from the specified element.
Removes an attribute.
Removes an attribute from the specified element.
Replaces the current node with the nodes.
Adds a new attribute or changes the value of an existing attribute on the specified element.
Adds a new Attr node.
Adds a new namespaced Attr node.
Adds a new attribute or changes the value of an existing attribute on the specified element.