The Attr interface represents one of a DOM element's attributes
an object. In most DOM methods, you will directly retrieve the
as a string (e.g., Element.getAttribute()
), but certain functions
Element.getAttributeNode()
) or means of iterating return Attr
The Attr interface represents one of a DOM element's attributes an object. In most DOM methods, you will directly retrieve the as a string (e.g., `Element.getAttribute()`), but certain functions `Element.getAttributeNode()`) or means of iterating return Attr
(local-name this)
Property.
The Attr.localName read-only property returns the local part the qualified name of an element.
name = attribute.localName
See also: https://developer.mozilla.org/en-US/docs/Web/API/Attr/localName
Property. The Attr.localName read-only property returns the local part the qualified name of an element. `name = attribute.localName` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Attr/localName`
(name this)
Property.
The attribute's name.
Property. The attribute's name.
(namespace-uri this)
Property.
The Attr.namespaceURI read-only property returns the namespace of the attribute, or null if the element is not in a namespace.
namespace = attribute.namespaceURI
See also: https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI
Property. The Attr.namespaceURI read-only property returns the namespace of the attribute, or null if the element is not in a namespace. `namespace = attribute.namespaceURI` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI`
(prefix this)
Property.
The Attr.prefix read-only property returns the namespace prefix the specified attribute, or null if no prefix is specified.
string = attribute.prefix
See also: https://developer.mozilla.org/en-US/docs/Web/API/Attr/prefix
Property. The Attr.prefix read-only property returns the namespace prefix the specified attribute, or null if no prefix is specified. `string = attribute.prefix` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Attr/prefix`
(set-local-name! this val)
Property.
The Attr.localName read-only property returns the local part the qualified name of an element.
name = attribute.localName
See also: https://developer.mozilla.org/en-US/docs/Web/API/Attr/localName
Property. The Attr.localName read-only property returns the local part the qualified name of an element. `name = attribute.localName` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Attr/localName`
(set-name! this val)
Property.
The attribute's name.
Property. The attribute's name.
(set-namespace-uri! this val)
Property.
The Attr.namespaceURI read-only property returns the namespace of the attribute, or null if the element is not in a namespace.
namespace = attribute.namespaceURI
See also: https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI
Property. The Attr.namespaceURI read-only property returns the namespace of the attribute, or null if the element is not in a namespace. `namespace = attribute.namespaceURI` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI`
(set-prefix! this val)
Property.
The Attr.prefix read-only property returns the namespace prefix the specified attribute, or null if no prefix is specified.
string = attribute.prefix
See also: https://developer.mozilla.org/en-US/docs/Web/API/Attr/prefix
Property. The Attr.prefix read-only property returns the namespace prefix the specified attribute, or null if no prefix is specified. `string = attribute.prefix` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Attr/prefix`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close