dlt.setNavigationBarTitleColor
Introduction
Set the title color and status bar title color.
Parameters
Object object
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| color | string | Yes | Supports only black or white colors | |
| 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.setNavigationBarTitleColor({
color: 'black',
});
This code demonstrates how to use dlt.setNavigationBarTitleColor to set the title color to black.