NavigationBarPlugin.getColor()
PluginNavigationBarPlugingetColorLess than 1 minute
Get the color [background color] of the system navigation bar
NavigationBarPlugin.getColor()
Parameters
- None
Return
- A Promise object that resolves to a string representing a hexadecimal color code, e.g.
#FFFFFFFF
Example
import { NavigationBarPlugin } from "@plaoc/plugins";
const value = NavigationBarPlugin.getColor("#FFFFFFFF")
Platform Support
API/Method/Event | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
getColor | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7