mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-11-21 01:00:54 +08:00
jso: add vararg versions of 'add' methods to DomTokenList
This commit is contained in:
parent
582fcf904c
commit
994e01ec9d
@ -30,7 +30,15 @@ public interface DOMTokenList extends JSObject {
|
|||||||
|
|
||||||
void add(String token);
|
void add(String token);
|
||||||
|
|
||||||
|
void add(String token1, String token2);
|
||||||
|
|
||||||
|
void add(String... tokens);
|
||||||
|
|
||||||
void remove(String token);
|
void remove(String token);
|
||||||
|
|
||||||
|
void remove(String token1, String token2);
|
||||||
|
|
||||||
|
void remove(String... tokens);
|
||||||
|
|
||||||
boolean toggle(String token);
|
boolean toggle(String token);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user