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