@aeringamaroff/capacitor-navigation-bar
v8.0.13
Published
Set navigation bar color for android lolipop and higher
Maintainers
Readme
capacitor-navigation-bar
Set navigation bar color for android lolipop and higher
Install
npm install @capgo/capacitor-navigation-bar
npx cap syncAPI
setNavigationBarColor(...)
setNavigationBarColor(options: { color: NavigationBarColor | string; buttonStyle?: NavigationBarButtonStyle; }) => Promise<void>| Param | Type |
| ------------- | --------------------------------------------------------------------------------------------------------------- |
| options | { color: string; buttonStyle?: NavigationBarButtonStyle; } |
getNavigationBarColor()
getNavigationBarColor() => Promise<{ color: string; buttonStyle?: NavigationBarButtonStyle; }>Returns: Promise<{ color: string; buttonStyle?: NavigationBarButtonStyle; }>
Enums
NavigationBarColor
| Members | Value |
| ----------------- | -------------------------- |
| WHITE | "#FFFFFF" |
| BLACK | "#000000" |
| TRANSPARENT | "transparent" |
NavigationBarButtonStyle
| Members | Value |
| ----------- | ---------------------- |
| LIGHT | "#FFFFFF" |
| DARK | "#000000" |
