setNavigationBarColor(params: Object)
Requires:
MiniKit≥1.0.0@ray-js/ray≥0.3.23
Platforms:
iOSAndroid
Description
Set the page navigation bar colors
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
frontColor | string | Yes | Foreground color value, including the colors of buttons, title, and status bar; only #ffffff and #000000 are supported |
backgroundColor | string | Yes | Background color value; valid values are hexadecimal colors |
| Yes | Animation effect | ||
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