HomeDocs
Skip to main content

dlt.setNavigationBarTitleColor

Introduction​

Set the title color and status bar title color.

Parameters​

Object object​

PropertyTypeDefaultRequiredDescription
colorstringYesSupports only black or white colors
successfunctionNoCallback function for a successful call
failfunctionNoCallback function for a failed call
completefunctionNoCallback 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.

Privacy agreementDeveloper agreementcontact us: developer_private.mi@dlightek.com © 2024 MiniApp. All Rights Reserved.