Navigation Bar

Contents

The NavigationBar plugin allows you to hide and auto hide the android navigation bar.

https://github.com/cranberrygame/cordova-plugin-navigationbar

Ionic 导航栏 Navigation Bar插件的安装(Installation)

ionic cordova plugin add cordova-plugin-navigationbar npm install @ionic-native/navigation-bar

Ionic 导航栏 Navigation Bar插件支持的平台(Supported Platforms)

  • Android

Ionic 导航栏 Navigation Bar插件的用法(Usage)

import { NavigationBar } from '@ionic-native/navigation-bar';

constructor(private navigationBar: NavigationBar) { }

...

let autoHide: boolean = true;
this.navigationBar.setUp(autoHide);