Notification.confirm with buttonLabels array

This commit is contained in:
Christiaan Rakowski
2013-10-03 10:28:47 +02:00
parent 0b11d4cea9
commit 688387ff35
+1
View File
@@ -478,6 +478,7 @@ declare var Media: {
interface Notification {
alert(message: string, alertCallback: Function, title?: string, buttonName?: string): void;
confirm(message: string, confirmCallback: Function, title?: string, buttonLabels?: string): void;
confirm(message: string, confirmCallback: Function, title?: string, buttonLabels?: Array<string>): void;
beep(times: number): void;
vibrate(milliseconds: number): void;
}