OLD | NEW |
| (Empty) |
1 | |
2 class _IDBDatabaseJs extends _DOMTypeJs implements IDBDatabase native "*IDBDatab
ase" { | |
3 | |
4 final String name; | |
5 | |
6 final List<String> objectStoreNames; | |
7 | |
8 EventListener onabort; | |
9 | |
10 EventListener onerror; | |
11 | |
12 EventListener onversionchange; | |
13 | |
14 final String version; | |
15 | |
16 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
17 | |
18 void close() native; | |
19 | |
20 _IDBObjectStoreJs createObjectStore(String name) native; | |
21 | |
22 void deleteObjectStore(String name) native; | |
23 | |
24 bool dispatchEvent(_EventJs evt) native; | |
25 | |
26 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
27 | |
28 _IDBVersionChangeRequestJs setVersion(String version) native; | |
29 | |
30 _IDBTransactionJs transaction(var storeName_OR_storeNames, [int mode = null])
native; | |
31 } | |
OLD | NEW |