<ons-alert-dialog>
<div class="alert-dialog-title">Warning!</div>
<div class="alert-dialog-content">
An error has occurred!
</div>
<div class="alert-dialog-footer">
<alert-dialog-button onclick="app.close()">Cancel</alert-dialog-button>
<alert-dialog-button class="alert-dialog-button" onclick="app.close()">OK</alert-dialog-button>
</div>
</ons-alert-dialog>
Name | Type | Description |
---|---|---|
disabled | Boolean | Specify if button should be disabled. Optional. |
modifier | String | The appearance of the button. Optional. |
Name | Description |
---|---|
material | Material Design alert-dialog button. |
If you have any questions, use our Community Forum or talk to us on Discord chat. The Onsen UI team and your peers in the community will work together to help solve your issues.
For bug reports and feature requests use our GitHub Issues page.