Element
class Element : Node, IElement, INode, IEventTarget, IParentNode, IChildNode, INonDocumentTypeChildNode
Represents an element node.
Represents an updateable location (url) holder.
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 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 focused.
Gets the last child element of this element.
Gets the local part of the qualified name of this node.
Gets the namespace URI of this node.
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 or sets the HTML syntax describing the element including its descendants.
Gets or sets the namespace prefix of the specified node, or null if no prefix is specified.
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 tagname of the element.
Creates a new element node.
Copies the attributes from the source element to the target element.
Each attribute will be recreated on the target.
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 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.
Inserts new HTML elements specified by the given HTML string at
a position relative to the current element specified by the position.
Checks if the element is matched by the given selector.
Prepends nodes to the current node.
Creates a pseudo element for the current element.
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.
Registers an observer for attribute events.
Removes the current element from the parent.
Removes an attribute from the specified element.
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 attribute or changes the value of an existing attribute on the specified element.
Updates an attribute's value without notifying the observers.