Liking cljdoc? Tell your friends :D

web.Attr

This type represents a DOM element's attribute as an object. most DOM methods, you will probably directly retrieve the attribute a string (e.g., web.Element.getAttribute(), but certain functions web.Element.getAttributeNode()) or means of iterating give types.

This type represents a DOM element's attribute as an object.
most DOM methods, you will probably directly retrieve the attribute
a string (e.g., `web.Element.getAttribute()`, but certain functions
`web.Element.getAttributeNode()`) or means of iterating give
types.
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

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