07 v_modal
Props
- label:
String- The label for the modal. - title:
String- The title of the modal. - css:
{ type: String, default: "xd-button xd-gray0 xd-border" }- CSS classes for the button. - icon:
{ type: String, default: "fa-angle-right" }- Icon class for the button. - type:
{ type: String, default: "stdModal" }- Type of the modal.stdModalsideMobile
- disabled:
Boolean- Disables the modal if set to true. - modalstyle:
Object- Custom styles for the modal.
Events
- @close: Triggered when the modal is closed.
- @open: Triggered when the modal is open.
Snippet
To close the dialog:
| HTML | |
|---|---|
Examples
Basic usage example:
show/hide from code
Show if property system.openModal is true