| OLD | NEW |
| (Empty) |
| 1 | |
| 2 class _IDBTransactionJs extends _DOMTypeJs implements IDBTransaction native "*ID
BTransaction" { | |
| 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 _IDBDatabaseJs 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(_EventJs evt) native; | |
| 25 | |
| 26 _IDBObjectStoreJs objectStore(String name) native; | |
| 27 | |
| 28 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 29 } | |
| OLD | NEW |