mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
Implement changes requested
This commit is contained in:
parent
bab2971c58
commit
db99482157
@ -23,10 +23,13 @@ export class HeaderColor {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a color to the task header
|
* Set a color to the task header
|
||||||
* @param color {string} The color
|
* @param color {string} The color
|
||||||
* @param {Object} Optional callbacks
|
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova({
|
||||||
static tint(color: string, callbacks?: {success?: Function, failure?: Function}): void { }
|
callbackStyle: 'object',
|
||||||
|
successName: 'success',
|
||||||
|
errorName: 'failure'
|
||||||
|
})
|
||||||
|
static tint(color: string): Promise<any> { }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user