Represents an underlying string that consists of a set of space-separated tokens.
Inheritance HierarchyThe DOMTokenList does not inherit from any class or interface.
The DOMTokenList object has these types of members:
The DOMTokenList object has these methods.
Adds a token if it is not present, or removes it if it is. Returns
Stringifies the token list.
A DOMTokenList object will stringify to the value of the DOMTokenList object's underlying string.
A set of space-separated tokens is a string containing zero or more words (known as tokens) separated by one or more space characters, where words consist of any string of one or more characters, none of which are space characters (the space characters are U+0020 SPACE, U+0009 CHARACTER TABULATION (tab), U+000A LINE FEED (LF), U+000C FORM FEED (FF), and U+000D CARRIAGE RETURN (CR)).