Parameters
Code Example
Related APIs
my.setNavigationBar
Set navigation bar
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set the page background color.
| Property | Type | Required | Description |
|---|---|---|---|
| backgroundColor | HexColor | No | Background color. For Android, this property is mandatory. |
| backgroundColorTop | HexColor | No | Top area background color (iOS) |
| backgroundColorBottom | HexColor | No | Bottom area background color (iOS) |
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
my.setBackgroundColor({
backgroundColor: '#ffffff',
backgroundColorTop: '#ffffff',
backgroundColorBottom: '#ffffff'
});