OLD | NEW |
(Empty) | |
| 1 |
| 2 class _IDBTransactionImpl implements IDBTransaction native "*IDBTransaction" { |
| 3 |
| 4 static final int READ_ONLY = 0; |
| 5 |
| 6 static final int READ_WRITE = 1; |
| 7 |
| 8 static final int VERSION_CHANGE = 2; |
| 9 |
| 10 final _IDBDatabaseImpl db; |
| 11 |
| 12 final int mode; |
| 13 |
| 14 EventListener onabort; |
| 15 |
| 16 EventListener oncomplete; |
| 17 |
| 18 EventListener onerror; |
| 19 |
| 20 void abort() native; |
| 21 |
| 22 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 23 |
| 24 bool dispatchEvent(_EventImpl evt) native; |
| 25 |
| 26 _IDBObjectStoreImpl objectStore(String name) native; |
| 27 |
| 28 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 29 } |
OLD | NEW |