mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
d24ae8063b
DOMTokenList is used as the return type of, e.g., the Element.classList property.
13 lines
540 B
Plaintext
13 lines
540 B
Plaintext
interface DOMTokenList {
|
|
readonly attribute unsigned long length;
|
|
getter DOMString? item(unsigned long index);
|
|
boolean contains(DOMString token);
|
|
[CEReactions] undefined add(DOMString... tokens);
|
|
[CEReactions] undefined remove(DOMString... tokens);
|
|
[CEReactions] boolean toggle(DOMString token, optional boolean force);
|
|
[CEReactions] boolean replace(DOMString token, DOMString newToken);
|
|
boolean supports(DOMString token);
|
|
[CEReactions] stringifier attribute DOMString value;
|
|
iterable<DOMString>;
|
|
};
|