From d7d6451ca3a302af1bd9991e085ab35d8163fe2a Mon Sep 17 00:00:00 2001 From: Giovanni Silva Date: Sun, 18 Oct 2015 21:59:14 -0200 Subject: [PATCH] added forgeted function signature in uikit --- uikit/uikit.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/uikit/uikit.d.ts b/uikit/uikit.d.ts index c46507c37b..f1ddfe9a5a 100644 --- a/uikit/uikit.d.ts +++ b/uikit/uikit.d.ts @@ -71,6 +71,13 @@ declare module UIkit { * @param {function} fn A function to execute on confirmation */ confirm(message:string, fn:() => any): void + /** + * Create a prompt dialog, where the user enter information + * @param {string} message The message to display. Can be Html + * @param {function} fn A function to execute on confirmation. The function + * receive the new value as a parameter + */ + prompt(message:string, fn:(newValue:string) => any): void /** * Create a prompt dialog, where the user enter information * @param {string} message The message to display. Can be Html