T
- @JsType(name="IDBRequest", isNative=true, namespace="<global>") public class Request<T> extends Object
Constructor and Description |
---|
Request() |
Modifier and Type | Method and Description |
---|---|
DOMError |
getError() |
Function |
getOnError() |
EventListener<NativeEvent<?>> |
getOnSuccess() |
String |
getReadyState() |
T |
getResult() |
JsObject |
getSource() |
Transaction |
getTransaction() |
void |
setError(DOMError dom) |
void |
setOnError(Function fn) |
void |
setOnSuccess(EventListener<NativeEvent<?>> handler) |
void |
setSource(JsObject object) |
@JsProperty(name="onsuccess") public void setOnSuccess(EventListener<NativeEvent<?>> handler)
@JsProperty(name="onsuccess") public EventListener<NativeEvent<?>> getOnSuccess()
@JsProperty public void setSource(JsObject object)
@JsProperty public JsObject getSource()
@JsProperty public DOMError getError()
@JsProperty public void setError(DOMError dom)
@JsProperty(name="onerror") public void setOnError(Function fn)
@JsProperty(name="onerror") public Function getOnError()
@JsProperty public String getReadyState()
@JsProperty public T getResult()
@JsProperty public Transaction getTransaction()
Copyright © 2018 Xalys. All rights reserved.