Liking cljdoc? Tell your friends :D

dom.DOMTokenList

The DOMTokenList interface represents a set of space-separated Such a set is returned by web.Element.classList, html.HTMLLinkElement.relList, html.HTMLAreaElement.relList, html.HTMLIframeElement.sandbox, html.HTMLOutputElement.htmlFor. It is indexed beginning with as with JavaScript web.Array objects. DOMTokenList is always

The DOMTokenList interface represents a set of space-separated
Such a set is returned by `web.Element.classList`, `html.HTMLLinkElement.relList`,
`html.HTMLAreaElement.relList`, `html.HTMLIframeElement.sandbox`,
`html.HTMLOutputElement.htmlFor`. It is indexed beginning with
as with JavaScript `web.Array` objects. DOMTokenList is always
raw docstring

addcljs

(add this & args)

Method.

The add() method of the dom.DOMTokenList interface adds the token to the list.

tokenList.add(token1[, token2[, ...]]);

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add

Method.

The add() method of the `dom.DOMTokenList` interface adds the
token to the list.

`tokenList.add(token1[, token2[, ...]]);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/add`
sourceraw docstring

containscljs

(contains this token)

Method.

The contains() method of the dom.DOMTokenList interface returns web.Boolean — true if the underlying list contains the given otherwise false.

tokenList.contains(token);

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/contains

Method.

The contains() method of the `dom.DOMTokenList` interface returns
`web.Boolean` — true if the underlying list contains the given
otherwise false.

`tokenList.contains(token);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/contains`
sourceraw docstring

entriescljs

(entries this)

Method.

The DOMTokenList.entries() method returns an web.iterator allowing to go through all key/value pairs contained in this object. The are dom.DOMString objects, each representing a single token.

tokenList.entries();

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/entries

Method.

The DOMTokenList.entries() method returns an `web.iterator` allowing
to go through all key/value pairs contained in this object. The
are `dom.DOMString` objects, each representing a single token.

`tokenList.entries();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/entries`
sourceraw docstring

for-eachcljs

(for-each this & args)

Method.

The forEach() method of the dom.DOMTokenList interface calls callback given in parameter once for each value pair in the list, insertion order.

tokenList.forEach(callback); tokenList.forEach(callback, argument);

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/forEach

Method.

The forEach() method of the `dom.DOMTokenList` interface calls
callback given in parameter once for each value pair in the list,
insertion order.

`tokenList.forEach(callback);
tokenList.forEach(callback, argument);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/forEach`
sourceraw docstring

itemcljs

(item this index)

Method.

The item() method of the dom.DOMTokenList interface returns item in the list by its index.

tokenList.item(index);

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/item

Method.

The item() method of the `dom.DOMTokenList` interface returns
item in the list by its index.

`tokenList.item(index);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/item`
sourceraw docstring

keyscljs

(keys this)

Method.

The keys() method of the dom.DOMTokenList interface returns web.iterator allowing to go through all keys contained in this The keys are of type unsigned integer.

tokenList.keys();

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/keys

Method.

The keys() method of the `dom.DOMTokenList` interface returns
`web.iterator` allowing to go through all keys contained in this
The keys are of type unsigned integer.

`tokenList.keys();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/keys`
sourceraw docstring

lengthcljs

(length this)

Property.

The length read-only property of the dom.DOMTokenList interface an integer representing the number of objects stored in the object.

tokenList.length;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/length

Property.

The length read-only property of the `dom.DOMTokenList` interface
an integer representing the number of objects stored in the object.

`tokenList.length;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/length`
sourceraw docstring

removecljs

(remove this & args)

Method.

The remove() method of the dom.DOMTokenList interface removes specified tokens from the list.

tokenList.remove(token1[, token2[, ...]]);

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove

Method.

The remove() method of the `dom.DOMTokenList` interface removes
specified tokens from the list.

`tokenList.remove(token1[, token2[, ...]]);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/remove`
sourceraw docstring

replacecljs

(replace this old-token new-token)

Method.

The replace() method of the dom.DOMTokenList interface replaces existing token with a new token.

tokenList.replace(oldToken,newToken);

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/replace

Method.

The replace() method of the `dom.DOMTokenList` interface replaces
existing token with a new token.

`tokenList.replace(oldToken,newToken);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/replace`
sourceraw docstring

set-length!cljs

(set-length! this val)

Property.

The length read-only property of the dom.DOMTokenList interface an integer representing the number of objects stored in the object.

tokenList.length;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/length

Property.

The length read-only property of the `dom.DOMTokenList` interface
an integer representing the number of objects stored in the object.

`tokenList.length;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/length`
sourceraw docstring

supportscljs

(supports this token)

Method.

The supports() method of the dom.DOMTokenList interface returns if a given token is in the associated attribute's supported tokens. method is intended to support feature detection.

var boolean = element.supports(token)

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/supports

Method.

The supports() method of the `dom.DOMTokenList` interface returns
if a given token is in the associated attribute's supported tokens.
method is intended to support feature detection.

`var boolean = element.supports(token)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/supports`
sourceraw docstring

togglecljs

(toggle this token force)

Method.

The toggle() method of the dom.DOMTokenList interface removes given token from the list and returns false. If token doesn't it's added and the function returns true.

tokenList.toggle(token, force);

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/toggle

Method.

The toggle() method of the `dom.DOMTokenList` interface removes
given token from the list and returns false. If token doesn't
it's added and the function returns true.

`tokenList.toggle(token, force);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/toggle`
sourceraw docstring

valuecljs

(value this)

Method.

The value property of the dom.DOMTokenList interface returns value of the list as a dom.DOMString, or clears and sets the to the given value.

tokenList.value;

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/value

Method.

The value property of the `dom.DOMTokenList` interface returns
value of the list as a `dom.DOMString`, or clears and sets the
to the given value.

`tokenList.value;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/value`
sourceraw docstring

valuescljs

(values this)

Method.

The values() method of the dom.DOMTokenList interface returns web.iterator allowing developers to go through all values contained the DOMTokenList. The individual values are dom.DOMString objects.

tokenList.values();

See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/values

Method.

The values() method of the `dom.DOMTokenList` interface returns
`web.iterator` allowing developers to go through all values contained
the DOMTokenList. The individual values are `dom.DOMString` objects.

`tokenList.values();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/values`
sourceraw docstring

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

× close