HomeDocs
Skip to main content

dlt.setNavigationBarBackgroundColor

Introduction

Set the navigation bar background color.

Parameters

Object object

PropertyTypeDefaultRequiredDescription
colorstringNoOnly supports data in the format #000000 or #ffffff
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.setNavigationBarBackgroundColor({
color: '#000000',
});
Privacy agreementDeveloper agreementcontact us: developer_service.mi@transsion.com © 2024 MiniApp. All Rights Reserved.