Dialog
Example
More examples please refer Demo
API
Attribute | Description | Type | Default |
---|---|---|---|
title | Popup Title |
| - |
message | popup content |
| - |
titleAlign | Title Alignment |
|
|
messageAlign | Message alignment |
|
|
showConfirmButton | Whether to show the confirm button |
|
|
showCancelButton | whether to show the cancel button |
|
|
confirmButtonText | Confirm button text |
|
|
confirmButtonColor | Confirm button color |
|
|
confirmTextColor | Confirm button text color |
|
|
cancelButtonText | Cancel button text |
|
|
cancelButtonColor | Cancel button color |
|
|
cancelTextColor | Cancel button text color |
|
|
closeOnClickOverlay | Whether to close the popup window after clicking the mask layer |
|
|
onConfirm | triggered when click the confirm button |
| - |
onCancel | Triggered when click the cancel button |
| - |
beforeClose | Triggered when the dialog is closed |
| - |
child | Custom content |
| - |
Last updated