DOMTokenList class abstract
A set of space-separated tokens (e.g., CSS classes via Element.classList).
See: https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList
Constructors
Properties
Methods
-
add(
String token) → void -
contains(
String token) → bool -
item(
int index) → String? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String token) → void -
replace(
String oldToken, String newToken) → void -
toggle(
String token, [bool? force]) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited