Socket
Book a DemoInstallSign in
Socket

cordova-plugin-navigationbar-fix

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-navigationbar-fix

Cordova iOS Native NavigationBar

1.1.2
latest
Source
npmnpm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

cordova-plugin-navigationbar

Cordova iOS Native NavigationBar

Installation

In your root Cordova project

cordova plugin add [@pinpin.link/cordova-plugin-navigationbar

Example

/* Set NavigationBar Style */
NavigationBar.style({
  style: 'Default', // 'Black',  'BlackOpaque' or 'BlackTransparent',
  translucent: true,
  background: '#FFFFFFFF',
  height: 44.0
});

/* Set NavigationBar Title */
NavigationBar.title({
  title: 'Your Title Here',
  color: '#0000FFFF',
  font: 'Arial',
  size: 24
});

/* Remove NavigationBar Title */
NavigationBar.title();

/* Set NavigationBar Left */
NavigationBar.left({
  title: 'Left',
  color: '#0000FFFF',
  font: 'Arial',
  size: 24
}, function () {
  alert('NavigationBar left tapped!')
});

/* Set NavigationBar Right */
NavigationBar.right({
  title: 'Right',
  color: '#0000FFFF',
  font: 'Arial',
  size: 24
}, function () {
  alert('NavigationBar right tapped!')
});

/* Use System Item Icon */
NavigationBar.right({
  title: '@Done',
  color: '#0000FFFF'
}, function () {
  alert('NavigationBar right tapped!')
});

/* Show NavigationBar */
NavigationBar.show();

/* Hide NavigationBar */
NavigationBar.hide();

/* Show NavigationBar Left */
NavigationBar.showLeft();

/* Hide NavigationBar Left */
NavigationBar.hideLeft();

/* Show NavigationBar Right */
NavigationBar.showRight();

/* Hide NavigationBar Right */
NavigationBar.hideRight();

System Item Icons

  • @Done
  • @Cancel
  • @Edit
  • @Save
  • @Add
  • @FlexibleSpace
  • @FixedSpace
  • @Compose
  • @Reply
  • @Action
  • @Organize
  • @Bookmarks
  • @Search
  • @Refresh
  • @Stop
  • @Camera
  • @Trash
  • @Play
  • @Pause
  • @Rewind
  • @FastForward
  • @Undo
  • @Redo

License

This project is licensed under the Apache 2.0 License - see the file for details

Keywords

ecosystem:cordova

FAQs

Package last updated on 12 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.