navigateBack(params: Object)
Requires:
MiniKit≥1.0.0@ray-js/ray≥0.3.23
Platforms:
iOSAndroid
Description
Close the current page and return to the previous page or up multiple levels
Parameters
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
delta | number | No | 1 | Number of pages to go back; if delta exceeds the current stack size, return to the home page |
complete | () => void | No | - | Completion callback (executed on both success and failure) |
success | () => void | No | - | Callback on successful API call |
fail | (params: Object) => void | No | - | Failure callback |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None