Header Color
Cordova plugin to change color of header in Android Multitask View
Repo: https://github.com/tomloprod/cordova-plugin-headercolor
Installation
- Install the Cordova and Ionic Native plugins:
$ ionic cordova plugin add cordova-plugin-headercolor $ npm install --save @ionic-native/header-color@4
- Add this plugin to your app's module
Supported platforms
- Android
Usage
import { HeaderColor } from '@ionic-native/header-color';
constructor(private headerColor: HeaderColor) { }
...
this.headerColor.tint('#becb29');
Instance Members
tint(color)
Set a color to the task header
Param | Type | Details |
---|---|---|
color |
string
|
The hex value of the color |
Returns: Promise<any>