Modal props
All modal props
Prop | Type | Default | Required | Description |
---|---|---|---|---|
Default props | ||||
name | String | Yes | Unique modal name | |
draggable | Boolean | false | Manually | Enable draggable for the modal |
resizable | Boolean | false | Manually | Enable resizable for the modal |
fullscreen | Boolean | false | Manually | Open modal in fullscreen mode |
width | String | 400px | Manually | Modal width value in percentages (%) or pixels (px) |
height | String | 350px | Manually | Modal height value in percentages (%) or pixels (px) |
submit-form-before-close | Boolean | true | Manually | Enable submit form before close modal |
close-modal-on-escape | Boolean | true | Manually | Close modal on click escape |
Manually customize props | ||||
bottom-buttons-container-class | String | Manually | Modal bottom buttons container custom classes | |
close-button-text | String | Close | Manually | Custom text to default bottom close button |
top-close-icon-container-class | String | Manually | Modal top button container custom classes | |
top-close-icon-class | String | Manually | Top modal close button icon class | |
buttons | Array | Manually | Add your custom buttons to modal. Learn how to add buttons | |
background | String | #ffffff | Manually | Add custom background color to modal this property accepts format hex |