Skip to content
No description, website, or topics provided.
Java Swift TypeScript Ruby Objective-C JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
ios
src
.gitignore
.gitignoree
.npmignore
CapacitorNavigationbar.podspec
README.md
package-lock.json
package.json
rollup.config.js
tsconfig.json

README.md

capacitor-navigationbar

Programmatically change the navigation bar color on android devices.

install

npm i capacitor-navigationbar

MainActivity.java:

import com.nikosdouvlis.navigationbar.NavigationBar;
...
...
add(NavigationBar.class);

import

import { NavigationBarPlugin } from 'capacitor-navigationbar';
...
...
const NavigationBar = Plugins.NavigationBar as NavigationBarPlugin;

use

NavigationBar.setBackgroundColor({color: '#FF1F1F1F'});
You can’t perform that action at this time.