capacitor-plugin-navigation-bar
v0.0.19
Published
navigation-bar style
Downloads
3
Readme
capacitor-plugin-navigation-bar
navigation-bar style
Install
npm install capacitor-plugin-navigation-bar
npx cap sync
API
setColor(...)
setDividerColor(...)
setOverlaysWebView(...)
show()
hide()
getStatusBarHeight()
getInfo()
- Interfaces
setColor(...)
setColor(options: ColorOption) => Promise<void>
| Param | Type |
| ------------- | --------------------------------------------------- |
| options
| ColorOption |
setDividerColor(...)
setDividerColor(options: ColorOption) => Promise<void>
| Param | Type |
| ------------- | --------------------------------------------------- |
| options
| ColorOption |
setOverlaysWebView(...)
setOverlaysWebView(options: SetOverlaysWebViewOptions) => Promise<void>
| Param | Type |
| ------------- | ------------------------------------------------------------------------------- |
| options
| SetOverlaysWebViewOptions |
show()
show() => Promise<void>
hide()
hide() => Promise<void>
getStatusBarHeight()
getStatusBarHeight() => Promise<StatusBarHeightResult>
Returns: Promise<StatusBarHeightResult>
getInfo()
getInfo() => Promise<InfoOption>
Returns: Promise<InfoOption>
Interfaces
ColorOption
| Prop | Type |
| ----------- | ------------------- |
| color
| string |
SetOverlaysWebViewOptions
| Prop | Type |
| ------------- | -------------------- |
| overlay
| boolean |
StatusBarHeightResult
| Prop | Type |
| ------------ | ------------------- |
| height
| number |
InfoOption
| Prop | Type |
| ------------------- | -------------------- |
| visible
| boolean |
| divider_color
| string |
| color
| string |
| overlays
| boolean |