| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 /// @domName DOMTokenList |
| 8 interface DOMTokenList { |
| 9 |
| 10 /** @domName DOMTokenList.length */ |
| 11 final int length; |
| 12 |
| 13 /** @domName DOMTokenList.add */ |
| 14 void add(String token); |
| 15 |
| 16 /** @domName DOMTokenList.contains */ |
| 17 bool contains(String token); |
| 18 |
| 19 /** @domName DOMTokenList.item */ |
| 20 String item(int index); |
| 21 |
| 22 /** @domName DOMTokenList.remove */ |
| 23 void remove(String token); |
| 24 |
| 25 /** @domName DOMTokenList.toString */ |
| 26 String toString(); |
| 27 |
| 28 /** @domName DOMTokenList.toggle */ |
| 29 bool toggle(String token); |
| 30 } |
| OLD | NEW |