summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/DOMTokenList.idl
blob: 9f397afff06aba6091a1a9ef3f6aaba5d0eab628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// https://dom.spec.whatwg.org/#interface-domtokenlist
[Exposed=Window]
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>;
};