Skip to content

tonny1983/cordova-plugin-CDVNavBar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-CDVNavBar

This plugin adds NavigationBar to your Cordova Applications.

#NOTE You should also install CDVTabBar plugin to work properly.

Installation

cordova plugin add cordova-plugin-cdvnavbar

Supported Platforms

  • iOS

Example For NavigationBar

navbar.create();
navbar.hideLeftButton()
navbar.hideRightButton();
navbar.setupRightButton("", 'barButton:Refresh', null);
navbar.showRightButton();
navbar.settitle("Tab 1");
navbar.show();

Example Adding Drawer to NavigationBar

var draweritems = [];
draweritems.push(["Page1","index.html","icon.png", "im the badge"]);
draweritems.push(["Page2","index2.html","", "no badge"]);
draweritems.push(["Page3","index3.html","", null]);
navbar.setupDrawer(draweritems, "#ffffff");

About

Add NavigationBar to your Cordova applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 94.6%
  • JavaScript 5.4%