APP
# APP
Register the MiniApp. Accepts an Object parameter that specifies the lifetime callback of the MiniApp, and so on.
| Properties | Type | The default value is | Required | Description |
|---|---|---|---|---|
| onLaunch | function | No | Lifecycle callback - Listens for MiniApp initialization. | |
| onShow | function | No | Lifecycle callback - Listens for the Mini App to start or cut to the front desk. | |
| onHide | function | No | Lifecycle callback - listening to the Mini App cuts the background, | |
| Other | any | No | Developers can add arbitrary functions or data variables to the Object parameter, and this allows access to |
Last update: 2022/08/16, 21:24:25