openPanel(params: Object)
Requires:
BizKit≥3.0.0@ray-js/ray≥0.3.23
Platforms:
iOSAndroid
Description
Open a panel, regardless of whether it’s an RN panel or a panel miniapp
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
deviceId | string | Yes | Device info ID |
| No | Additional panel info When navigating to a secondary panel, the extra information that must be provided | ||
| No | Panel launch parameters carrying business data | ||
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