Skip to main content

NavigationBarPlugin.setStyle()

BFChainPluginNavigationBarPluginsetStyleLess than 1 minute

Set the style [foreground color] of the system navigation bar

NavigationBarPlugin.setStyle(style)

Parameters

  • style

    Accepts a string; Possible values:
    "DARK" "LIGHT" "DEFAULT"
    See State.style for details.

Return

  • A Promise object that resolves to null

Example

import { NavigationBarPlugin } from "@plaoc/plugins";
const value = NavigationBarPlugin.setStyle("DEFAULT")

Platform Support

Property/Method/EventAndroidiOSDesktop-DevDesktop
setStyleX

NavigationBarPlugin

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