@@ -669,28 +669,28 @@ Modal use local CSS variables on `.modal` for enhanced real-time customization.
669
669
670
670
### Props
671
671
672
- | Props | Type | Default | Description |
673
- | ---------------------------- | :---------:| :-------:| - -----------------------------------------------------------|
674
- | ` v-model ` | ` Boolean ` | ` false ` | Show / Hide modal |
675
- | ` title ` | ` String ` | - | Modal Title |
676
- | ` text ` | ` String ` | - | Text inside of Modal Body |
677
- | ` dismissable ` | ` Boolean ` | ` true ` | Show / Hide dismiss button |
678
- | ` size ` | ` String ` | ` md ` | Size of modal, valid value is ` sm ` , ` md ` , ` lg ` and ` xl ` |
679
- | ` banner ` | ` Boolean ` | ` false ` | Give modal no-padding to place image for specific purpose |
680
- | ` no-close-on-esc ` | ` Boolean ` | ` false ` | No close modal while Escape was pressed |
681
- | ` no-close-on-backdrop ` | ` Boolean ` | ` false ` | No close modal while Modal Backdrop was clicked |
682
- | ` modal-body-scrollable ` | ` Boolean ` | ` false ` | Scrollable modal body when content is to long |
683
- | ` centered ` | ` Boolean ` | ` false ` | Handle center vertically of the viewport |
672
+ | Props | Type | Default | Description |
673
+ | -----------------------| :---------:| :-------:| -----------------------------------------------------------|
674
+ | ` modelValue ` | ` Boolean ` | ` false ` | ` v-model ` value for show / hide modal |
675
+ | ` title ` | ` String ` | - | Modal Title |
676
+ | ` text ` | ` String ` | - | Text inside of Modal Body |
677
+ | ` dismissable ` | ` Boolean ` | ` true ` | Show / Hide dismiss button |
678
+ | ` size ` | ` String ` | ` md ` | Size of modal, valid value is ` sm ` , ` md ` , ` lg ` and ` xl ` |
679
+ | ` banner ` | ` Boolean ` | ` false ` | Give modal no-padding to place image for specific purpose |
680
+ | ` noCloseOnEsc ` | ` Boolean ` | ` false ` | No close modal while Escape was pressed |
681
+ | ` noCloseOnBackdrop ` | ` Boolean ` | ` false ` | No close modal while Modal Backdrop was clicked |
682
+ | ` modalBodyScrollable ` | ` Boolean ` | ` false ` | Scrollable modal body when content is to long |
683
+ | ` centered ` | ` Boolean ` | ` false ` | Handle center vertically of the viewport |
684
684
685
685
### Slots
686
- | Name | Description |
687
- | -----------| -------------------------------------------------------------------------------------------------- |
688
- | ` header ` | Content (in the form of— permalink or button) to place in Modal Header |
689
- | ` footer ` | Content (in the form of— permalink or button) to place in Modal Footer |
686
+ | Name | Description |
687
+ | -----------| ------------------------------------------------------------------------|
688
+ | ` header ` | Content (in the form of— permalink or button) to place in Modal Header |
689
+ | ` footer ` | Content (in the form of— permalink or button) to place in Modal Footer |
690
690
691
691
### Events
692
692
693
- | Name | Arguments | Description |
694
- | ------------- | -----------| ---------------------------------|
695
- | ` close ` | - | Event when close button clicked |
693
+ | Name | Arguments | Description |
694
+ | ---------| -----------| ---------------------------------|
695
+ | ` close ` | - | Event when close button clicked |
696
696
0 commit comments