JavaScript – DOMTokenList length Property
The DOMTokenList length property returns the number of tokens in a DOMTokenList.
The DOMTokenList length property returns the number of tokens in a DOMTokenList.
The DOMTokenList remove() method removes tokens from the DOMTokenList, which is a set of space separated tokens that can be accessed by index.
The DOMTokenList replace() method replaces a token in a DOMTokenList, which is a set of space separated tokens that can be accessed by index.
The DOMTokenList supports() method returns “true” if a token in a DOMTokenList is one of the attribute’s supported tokens.
The DOMTokenList toggle() method toggles a token in a DOMTokenList on or off.
The DOMTokenList value property returns a DOMTokenList as a string
The DOMTokenList values() method returns an iterator with the keys from a DOMTokenList.