From 4c6a1892c0d0364a2b15642ae3d2475adb6b4202 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 2 Feb 2018 23:47:03 -0500 Subject: [PATCH] show dialog interface --- src/abstractions/platformUtils.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/abstractions/platformUtils.service.ts b/src/abstractions/platformUtils.service.ts index d0c16bf2b0..893f99a9d4 100644 --- a/src/abstractions/platformUtils.service.ts +++ b/src/abstractions/platformUtils.service.ts @@ -16,4 +16,6 @@ export abstract class PlatformUtilsService { saveFile: (win: Window, blobData: any, blobOptions: any, fileName: string) => void; getApplicationVersion: () => string; supportsU2f: (win: Window) => boolean; + showDialog: (text: string, title?: string, confirmText?: string, cancelText?: string, + type?: string) => Promise; }