Available on js
This type represents a DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g.,
Element.getAttribute(), but certain functions (e.g.,
Element.getAttributeNode()) or means of iterating give
DOMString representing the local part of the qualified name of the attribute.
The attribute's name.
DOMString representing the namespace URI of the attribute, or
null if there is no namespace.
The element holding the attribute.
Gecko outputs a deprecation note starting from Gecko 7.0
7.0. This note was removed again in Gecko 49.0
DOMString representing the namespace prefix of the attribute, or
null if no prefix is specified.
This property always returns
true. Originally, it returned
true if the attribute was explicitly specified in the source code or by a script, and
false if its value came from the default one defined in the document's DTD.
The attribute's value.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.