OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /// @domName Storage | 5 /// @domName Storage |
6 /** | 6 /** |
7 * The type used by the | 7 * The type used by the |
8 * [Window.localStorage] and [Window.sessionStorage] properties. | 8 * [Window.localStorage] and [Window.sessionStorage] properties. |
9 * Storage is implemented as a Map<String, String>. | 9 * Storage is implemented as a Map<String, String>. |
10 * | 10 * |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 /** @domName Storage.key */ | 43 /** @domName Storage.key */ |
44 String $dom_key(int index); | 44 String $dom_key(int index); |
45 | 45 |
46 /** @domName Storage.removeItem */ | 46 /** @domName Storage.removeItem */ |
47 void $dom_removeItem(String key); | 47 void $dom_removeItem(String key); |
48 | 48 |
49 /** @domName Storage.setItem */ | 49 /** @domName Storage.setItem */ |
50 void $dom_setItem(String key, String data); | 50 void $dom_setItem(String key, String data); |
51 | 51 |
52 } | 52 } |
OLD | NEW |