Skip to main content

NavigationBarPlugin.setStateByKey()

BFChainPluginNavigationBarPluginsetStateByKeyLess than 1 minute

Set the value of a specific state property of the system navigation bar

NavigationBarPlugin.setStateByKey(key, value) 

Parameters

  • key

    String, name of the state property to set
    Valid properties include: [overlay, visible, color, style]

  • value
    The value to set for the state property;
    Valid values range see NavigationBarPlugin.state

Return

  • A Promise object that resolves to null

Example

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

Platform Support

Property/Method/EventAndroidiOSDesktop-DevDesktop
setStateByKeyX

NavigationBarPlugin

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