Skip to main content

NavigationBarPlugin.getStyle()

BFChainPluginNavigationBarPlugingetStyleLess than 1 minute

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

NavigationBarPlugin.getStyle()

Parameters

  • None

Return

  • A Promise object that resolves to a string
  • Possible values:
    "DARK" "LIGHT" "DEFAULT"

Example

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

Platform Support

API/Method/EventAndroidiOSDesktop-DevDesktop
getStyleX

NavigationBarPlugin

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