UNPKG

673 BTypeScriptView Raw
1/**
2 * @beta
3 * @name NavigationBar
4 * @description
5 * The NavigationBar plugin can you to hide and auto hide the android navigation bar.
6 *
7 * @usage
8 * ```typescript
9 * import { NavigationBar } from 'ionic-native';
10 *
11 * let autoHide: boolean = true;
12 * NavigationBar.hide(autoHide);
13 * ```
14 */
15export declare class NavigationBar {
16 /**
17 * hide automatically (or not) the navigation bar.
18 * @param autohide {boolean}
19 * @return {Promise<any>}
20 */
21 static setUp(autohide?: boolean): Promise<any>;
22 /**
23 * Hide the navigation bar.
24 * @return {Promise<any>}
25 */
26 static hideNavigationBar(): Promise<any>;
27}