From 9643c7adf92c5e0a8899a5d9ae287ec4344235ab Mon Sep 17 00:00:00 2001 From: jonny Date: Mon, 28 Jun 2021 11:16:29 +0200 Subject: [PATCH] added callback documentation --- docs/maps/api-ui.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/maps/api-ui.md b/docs/maps/api-ui.md index b1d244da..fda7742d 100644 --- a/docs/maps/api-ui.md +++ b/docs/maps/api-ui.md @@ -93,7 +93,7 @@ WA.ui.registerMenuCommand("test", () => { ### Awaiting User Confirmation (with space bar) ```typescript -triggerMessage(message: string): TriggerMessage +triggerMessage(message: string, callback: ()=>void): TriggerMessage ``` Displays a message at the bottom of the screen (that will disappear when space bar is pressed).