mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-07 23:03:19 +08:00
fix(pin-dialog): add missing errorIndex
This commit is contained in:
parent
94a4519f2b
commit
b7701cdb16
@ -34,7 +34,8 @@ export class PinDialog {
|
|||||||
* @returns {Promise<{ buttonIndex: number, input1: string }>}
|
* @returns {Promise<{ buttonIndex: number, input1: string }>}
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova({
|
||||||
successIndex: 1
|
successIndex: 1,
|
||||||
|
errorIndex: 4 // no error callback
|
||||||
})
|
})
|
||||||
static prompt(message: string, title: string, buttons: string[]): Promise<{ buttonIndex: number, input1: string }> { return; }
|
static prompt(message: string, title: string, buttons: string[]): Promise<{ buttonIndex: number, input1: string }> { return; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user