OLD | NEW |
1 | 1 |
2 class IDBObjectStoreJS implements IDBObjectStore native "*IDBObjectStore" { | 2 class IDBObjectStoreJs extends DOMTypeJs implements IDBObjectStore native "*IDBO
bjectStore" { |
3 | 3 |
4 String get keyPath() native "return this.keyPath;"; | 4 String get keyPath() native "return this.keyPath;"; |
5 | 5 |
6 String get name() native "return this.name;"; | 6 String get name() native "return this.name;"; |
7 | 7 |
8 IDBTransactionJS get transaction() native "return this.transaction;"; | 8 IDBTransactionJs get transaction() native "return this.transaction;"; |
9 | 9 |
10 IDBRequestJS add(String value, [IDBKeyJS key = null]) native; | 10 IDBRequestJs add(String value, [IDBKeyJs key = null]) native; |
11 | 11 |
12 IDBRequestJS clear() native; | 12 IDBRequestJs clear() native; |
13 | 13 |
14 IDBRequestJS count([IDBKeyRangeJS range = null]) native; | 14 IDBRequestJs count([IDBKeyRangeJs range = null]) native; |
15 | 15 |
16 IDBIndexJS createIndex(String name, String keyPath) native; | 16 IDBIndexJs createIndex(String name, String keyPath) native; |
17 | 17 |
18 IDBRequestJS delete(IDBKeyJS key) native; | 18 IDBRequestJs delete(IDBKeyJs key) native; |
19 | 19 |
20 void deleteIndex(String name) native; | 20 void deleteIndex(String name) native; |
21 | 21 |
22 IDBRequestJS getObject(IDBKeyJS key) native; | 22 IDBRequestJs getObject(IDBKeyJs key) native; |
23 | 23 |
24 IDBIndexJS index(String name) native; | 24 IDBIndexJs index(String name) native; |
25 | 25 |
26 IDBRequestJS openCursor([IDBKeyRangeJS range = null, int direction = null]) na
tive; | 26 IDBRequestJs openCursor([IDBKeyRangeJs range = null, int direction = null]) na
tive; |
27 | 27 |
28 IDBRequestJS put(String value, [IDBKeyJS key = null]) native; | 28 IDBRequestJs put(String value, [IDBKeyJs key = null]) native; |
29 | |
30 var dartObjectLocalStorage; | |
31 | |
32 String get typeName() native; | |
33 } | 29 } |
OLD | NEW |