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