Project:
View Revisions: Issue #44110 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0044110: Improve confirmation dialogs with Promises | ||
Revision | 2020-05-19 18:10 by adrianromero | ||
Description | With modern Javascript keywords async / await is very convenient to provide a way to display a dialog. if (await OB.DIALOGS.question({ title: 'title', message: 'message' })) { console.log('User pressed OK'); } else { console.log('User pressed CANCEL'); } |
||
Revision | 2020-05-19 17:53 by adrianromero | ||
Description | With modern Javascript keywords async / await is very convenient to provide |
Copyright © 2000 - 2009 MantisBT Group |