Open hepheir opened 3 years ago
Element
readonly attribute DOMString tagName
DOMString getAttribute(in DOMString name)
void setAttribute(in DOMString name, in DOMString value)
void removeAttribute(in DOMString name)
Attr getAttributeNode(in DOMString name)
Attr setAttributeNode(in Attr newAttr)
Attr removeAttributeNode(in Attr oldAttr)
NodeList getElementsByTagName(in DOMString name)
void normalize()
Node insertBefore(in Node newChild, in Node refChild)
Node replaceChild(in Node newChild, in Node oldChild)
Node appendChild(in Node newChild)
Node cloneNode(in boolean deep)
Interface
Element
IDL Definition
More
``` interface Element : Node { readonly attribute DOMString tagName; DOMString getAttribute(in DOMString name); void setAttribute(in DOMString name, in DOMString value) raises(DOMException); void removeAttribute(in DOMString name) raises(DOMException); Attr getAttributeNode(in DOMString name); Attr setAttributeNode(in Attr newAttr) raises(DOMException); Attr removeAttributeNode(in Attr oldAttr) raises(DOMException); NodeList getElementsByTagName(in DOMString name); void normalize(); }; ```Attributes
readonly attribute DOMString tagName
Methods
DOMString getAttribute(in DOMString name)
void setAttribute(in DOMString name, in DOMString value)
void removeAttribute(in DOMString name)
Attr getAttributeNode(in DOMString name)
Attr setAttributeNode(in Attr newAttr)
Attr removeAttributeNode(in Attr oldAttr)
NodeList getElementsByTagName(in DOMString name)
void normalize()
Overrides
Node insertBefore(in Node newChild, in Node refChild)
Node replaceChild(in Node newChild, in Node oldChild)
Node appendChild(in Node newChild)
Node cloneNode(in boolean deep)