bn.openWidget
▸ openWidget(options): Promise<{ id: number ; extra?: Record<string, any> }>
Parameters
| Name | Type |
|---|---|
options | OpenWidgetOptions |
Returns
Promise<{ id: number ; extra?: Record<string, any> }>
Interface: OpenWidgetOptions
| Name | Type | Description |
|---|---|---|
| props? | Record<string, any> | |
| appId | string | |
| path | string | |
| type | "alert" | "sheet" | |
| width? | number | |
| height? | number | |
| maskClosable? | boolean | |
| onClose? | (): void |
onClose
▸ Optional onClose(): void
Returns
void