0.0.8 • Published 2 years ago
capacitor-navigation-bar-color v0.0.8
capacitor-navigation-bar-color
A capacitor plugin to change the color of navigation bar
Install
npm install capacitor-navigation-bar-color
npx cap sync
Supported Platform
- Android
API
setNavigationBarColor(...)
Set the navigation bar color given in HEX string.
setNavigationBarColor(options: { color: string; }) => Promise<void>
Param | Type |
---|---|
options | { color: string; } |
getNavigationBarColor()
Returns the current navigation bar color in HEX string.
getNavigationBarColor() => Promise<{ color: string; }>
Returns: Promise<{ color: string; }>
enterFullScreen()
Enters the full screen mode (hides the status bar and navigation bar).
enterFullScreen() => Promise<void>
exitFullScreen()
Exits the full screen mode (re-shows the status bar and navigation bar if hidden already).
exitFullScreen() => Promise<void>