mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 09:49:35 +08:00
refactor(dialogs):
This commit is contained in:
parent
17214ffba7
commit
bc3f10cbc1
@ -1,4 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import { Cordova, Plugin } from './plugin';
|
||||||
|
|
||||||
|
|
||||||
export interface PromptCallback {
|
export interface PromptCallback {
|
||||||
|
|
||||||
@ -11,7 +12,6 @@ export interface PromptCallback {
|
|||||||
* The text entered in the prompt dialog box. (String)
|
* The text entered in the prompt dialog box. (String)
|
||||||
*/
|
*/
|
||||||
input1: string;
|
input1: string;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ export class Dialogs {
|
|||||||
message,
|
message,
|
||||||
title: string = 'Alert',
|
title: string = 'Alert',
|
||||||
buttonName: string = 'OK'
|
buttonName: string = 'OK'
|
||||||
): Promise<any> {return; }
|
): Promise<any> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays a customizable confirmation dialog box.
|
* Displays a customizable confirmation dialog box.
|
||||||
@ -99,6 +99,6 @@ export class Dialogs {
|
|||||||
@Cordova({
|
@Cordova({
|
||||||
sync: true
|
sync: true
|
||||||
})
|
})
|
||||||
static beep(times: number): void {}
|
static beep(times: number): void { }
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user