@JsType(isNative=true) public class IDBTransaction extends EventTarget
| Constructor and Description |
|---|
IDBTransaction() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
IDBDatabase |
getBb() |
DOMError |
getError() |
IDBTransactionMode |
getMode() |
String[] |
getObjectStoreNames() |
IDBObjectStore |
objectStore(String name) |
void |
setMode(IDBTransactionMode mode) |
void |
setOnabort(Function fn) |
void |
setOncomplete(Function fn) |
void |
setOnerror(Function fn) |
getOwnPropertyNames, hasOwnProperty, observepublic IDBTransaction()
@JsProperty public IDBDatabase getBb()
@JsProperty public IDBTransactionMode getMode()
@JsProperty public void setMode(IDBTransactionMode mode)
@JsProperty public void setOnabort(Function fn)
@JsProperty public void setOncomplete(Function fn)
@JsProperty public String[] getObjectStoreNames()
@JsProperty public void setOnerror(Function fn)
public void abort()
public IDBObjectStore objectStore(String name)
Copyright © 2017. All rights reserved.