NavigationBarPlugin.setStyle()
PluginNavigationBarPluginsetStyleLess 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/Event | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
setStyle | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7