Liking cljdoc? Tell your friends :D

web.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

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
raw docstring

local-namecljs

(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`
sourceraw docstring

namecljs

(name this)

Property.

The attribute's name.

Property.

The attribute's name.
sourceraw docstring

namespace-uricljs

(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`
sourceraw docstring

prefixcljs

(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`
sourceraw docstring

set-local-name!cljs

(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`
sourceraw docstring

set-name!cljs

(set-name! this val)

Property.

The attribute's name.

Property.

The attribute's name.
sourceraw docstring

set-namespace-uri!cljs

(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`
sourceraw docstring

set-prefix!cljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close