You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**alignment**| Align the modal in the center or top of the screen. | string |`'top'`, `'center'`| 'top' |
14
+
|**backdrop**| Apply a backdrop on body while offcanvas is open. | boolean\|string |`'static'`| true |
15
+
|**content-class-name**| A string of all className you want applied to the modal content component. | string | - | - |
16
+
|**fullscreen**| Set modal to covers the entire user viewport | boolean\|string |`boolean`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'xxl'`| - |
17
+
|**keyboard**| Closes the modal when escape key is pressed. | boolean | - | true |
18
+
|**scrollable**| Create a scrollable modal that allows scrolling the modal body. | boolean | - ||
19
+
|**size**| Size the component small, large, or extra large. | string |`'sm'`, `'lg'`, `'xl'`| - |
20
+
|**transition**| Remove animation to create modal that simply appear rather than fade in to view. | boolean | - | true |
21
+
|**unmount-on-close**| By default the component is unmounted after close animation, if you want to keep the component mounted set this property to false. | boolean | - | true |
22
+
|**visible**| Toggle the visibility of alert component. | boolean | - ||
Copy file name to clipboardExpand all lines: packages/docs/components/modal.md
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,6 @@ Toggle a working modal demo by clicking the button below. It will slide down and
81
81
}
82
82
</script>
83
83
```
84
-
85
-
86
84
### Static backdrop
87
85
88
86
If you set `backdrop` property to `static`, your modal will behave as though the backdrop is static, meaning it will not close when clicking outside it. Click the button below to try it.
0 commit comments