openPanel
Requires:
BizKit≥3.0.0@ray-js/ray≥0.3.23
Platforms:
iOSAndroid
Method signature
openPanel(params: )Minimum SDK versions
- iOS
ThingSmartBizKitBizBundle - ≥ 5.2.1
- Android
com.thingclips.smart:thingsmart-bizbundle-bizkit - ≥ 5.2.0
Description
Open a panel, regardless of whether it’s an RN panel or a panel miniapp
Parameters
| Property | Type | Required | Description | Minimum SDK versions |
|---|---|---|---|---|
deviceId | string | Yes | Device info ID | — |
| No | Additional panel info When navigating to a secondary panel, the extra information that must be provided | — | ||
initialProps | Record<string, Record<string, any>> | 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