Skip to main content

BFChainLess than 1 minute

Here is the English translation:


title: NavigationBarPlugin.setColor()
category:

  • Plugin
    tag:
  • NavigationBarPlugin
  • setColor

Set the color [background color] of the system navigation bar

NavigationBarPlugin.setColor(color)

Parameters

  • color

    Accepts a string representing a hexadecimal color code, e.g. #FFFFFFFF

Return

  • A Promise object that resolves to null

Example

import { NavigationBarPlugin } from "@plaoc/plugins";
const value = NavigationBarPlugin.setColor("#FFFFFFFF") 

Platform Support

Property/Method/EventAndroidiOSDesktop-DevDesktop
setColorX

NavigationBarPlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7