Package | Description |
---|---|
com.teamdev.jxbrowser.js |
This package provides classes that allow you to work with the JavaScript to Java bridge.
|
Modifier and Type | Method and Description |
---|---|
JsPromise |
JsPromise.catchError(JsPromiseHandler onRejected)
Registers a rejection handler for this promise and returns a new one.
|
JsPromise |
JsPromise.finallyExecute(JsPromiseHandler onFinally)
Registers a handler that will be invoked if the promise is settled (fulfilled/rejected) and
returns a new promise.
|
JsPromise |
JsPromise.then(JsPromiseHandler onFulfilled)
Registers a fulfillment handler for this promise and returns a new one.
|
JsPromise |
JsPromise.then(JsPromiseHandler onFulfilled,
JsPromiseHandler onRejected)
Registers fulfillment and rejection handlers for this promise and returns a new one.
|