Flutter教程

Navigation Bar

Contents

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

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

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

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

ionic cordova plugin add cordova-plugin-navigationbar npm install @ionic-native/navigation-bar
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/navigation-bar

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

  • Android

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

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

constructor(private navigationBar: NavigationBar) { }

...

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