NavigationBarPlugin.setStyle()

BFChainAugust 11, 2023
  • Plugin
  • NavigationBarPlugin
  • setStyle
Less 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.13.0