dlt.setNavigationBarBackgroundColor
Introduction
Set the navigation bar background color.
Parameters
Object object
Property | Type | Default | Required | Description |
---|---|---|---|---|
color | string | No | Only supports data in the format #000000 or #ffffff | |
success | function | No | Callback function for a successful call | |
fail | function | No | Callback function for a failed call | |
complete | function | No | Callback function for the call's completion (executed for both successful and failed calls) |
Sample Code
dlt.setNavigationBarBackgroundColor({
color: '#000000',
});