mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +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
|
||||
* @param color {string} The color
|
||||
* @param {Object} Optional callbacks
|
||||
* @param color {string} The color
|
||||
*/
|
||||
@Cordova()
|
||||
static tint(color: string, callbacks?: {success?: Function, failure?: Function}): void { }
|
||||
@Cordova({
|
||||
callbackStyle: 'object',
|
||||
successName: 'success',
|
||||
errorName: 'failure'
|
||||
})
|
||||
static tint(color: string): Promise<any> { }
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user