Class for displaying notification box or confirmation box with optional customized controls in box's buttons functionalities.
Description | ||
defaultOption |
DefaultOption of alertIndicator contains 6 values. |
Return type | Description | |
alert(messageonOkClickoptions) | None |
Displays an notification box with a specified message and an OK button. |
confirm(messageonOkClickonCancelClickoptions) | None |
Displays an confirm box with a specified message ,an OK button and cancel button. |
DefaultOption of alertIndicator contains 6 values.
1.title: title of dialog (default: "Tin nhắn hệ thống")
2.maxable: allow or not maximize button is displayed. (default: false)
3.minable: allow or not minimize button is displayed. (default: false)
4.iconClass: class of icon (default: None)
5.okLabel: label of 'ok' botton (default: "OK")
6.cancelLabel: label of 'cancel' botton (default: "Hủy bỏ")
Displays an notification box with a specified message and an OK button.
Displays an confirm box with a specified message ,an OK button and cancel button.