added callback documentation

This commit is contained in:
jonny 2021-06-28 11:16:29 +02:00
parent 5472d220ba
commit 9643c7adf9

View file

@ -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).