OLD | NEW |
(Empty) | |
| 1 |
| 2 class _IDBDatabaseImpl implements IDBDatabase native "*IDBDatabase" { |
| 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 _IDBObjectStoreImpl createObjectStore(String name) native; |
| 21 |
| 22 void deleteObjectStore(String name) native; |
| 23 |
| 24 bool dispatchEvent(_EventImpl evt) native; |
| 25 |
| 26 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 27 |
| 28 _IDBVersionChangeRequestImpl setVersion(String version) native; |
| 29 |
| 30 _IDBTransactionImpl transaction(var storeName_OR_storeNames, int mode) native; |
| 31 } |
OLD | NEW |