HomeDocs
跳到主要内容

dlt.setNavigationBarTitleColor

简介​

设置标题颜色及状态栏标题颜色

参数​

Object object​

属性类型默认值必填描述
colorstring是仅支持 black/white
successfunction否接口调用成功的回调函数
failfunction否接口调用失败的回调函数
completefunction否接口调用结束的回调函数(调用成功、失败都会执行)

示例代码​

dlt.setNavigationBarTitleColor({
color: 'black',
});
Privacy agreementDeveloper agreementcontact us: developer_private.mi@dlightek.com © 2024 MiniApp. All Rights Reserved.