# MessageBox Dialogs

The example shows how to use the MessageBox class. Some of the buttons have animations, some are normal.

The js is not minified so it is readable. See msg-box.js.

Confirm
Standard Yes/No dialog.

Prompt
Standard prompt dialog.

Multi-line Prompt
A multi-line prompt dialog.

Yes/No/Cancel
Standard Yes/No/Cancel dialog.

Progress Dialog
Dialog with measured progress bar.

Wait Dialog
Dialog with indefinite progress bar and custom icon (will close after 8 sec).

Alert
Standard alert message dialog.

Icons
Standard alert with optional icon.

Custom button text
MessageBox with custom button text.