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
@@ -93,14 +93,14 @@ Custom class names for the modal overlay.
93
93
94
94
Style that will be applied to the modal container.
95
95
96
-
## `contentStyle`
96
+
## `content-style`
97
97
98
98
- Type: `[Object, Array]`
99
99
- Default: `{}`
100
100
101
101
Style that will be applied to the modal content.
102
102
103
-
## `overlayStyle`
103
+
## `overlay-style`
104
104
105
105
- Type: `[Object, Array]`
106
106
- Default: `{}`
@@ -150,7 +150,7 @@ CSS transition applied to the modal container.
150
150
151
151
</show-code>
152
152
153
-
## `overlayTransition`
153
+
## `overlay-transition`
154
154
155
155
- Type: `[String, Object]`
156
156
- Default: `'vfm'`
@@ -193,7 +193,7 @@ CSS transition applied to the modal overlay.
193
193
194
194
</show-code>
195
195
196
-
## `lockScroll`
196
+
## `lock-scroll`
197
197
198
198
- Type: `Boolean`
199
199
- Default: `true`
@@ -202,28 +202,28 @@ Disabled the scrolling of body while the modal is displayed.
202
202
203
203
<alert>Using [`body-scroll-lock`](https://github.com/willmcpo/body-scroll-lock) to implement the feature. </alert>
204
204
205
-
## `hideOverlay`
205
+
## `hide-overlay`
206
206
207
207
- Type: `Boolean`
208
208
- Default: `false`
209
209
210
210
Hiding the display of the overlay.
211
211
212
-
## `clickToClose`
212
+
## `click-to-close`
213
213
214
214
- Type: `Boolean`
215
215
- Default: `true`
216
216
217
217
Enabled closing the modal by clicking overlay of the modal.
218
218
219
-
## `escToClose`
219
+
## `esc-to-close`
220
220
221
221
- Type: `Boolean`
222
222
- Default: `false`
223
223
224
224
Press `esc` to close the modal.
225
225
226
-
## `preventClick`
226
+
## `prevent-click`
227
227
228
228
- Type: `Boolean`
229
229
- Default: `false`
@@ -242,35 +242,35 @@ Specifies which DOM element that this component should detach to.
242
242
2. String can be any valid `querySelector`, e.g. `'body'`, `'#app'`.
243
243
3. Object can be any valid `Node`, e.g. `this.$refs.container`.
244
244
245
-
## `zIndexAuto`
245
+
## `z-index-auto`
246
246
247
247
- Type: `Boolean`
248
248
- Default: `true`
249
249
250
-
Auto binding `z-index` base on the prop `zIndexBase` and adding `2` by each stackable modal. If zIndex is set, `zIndexAuto`, `zIndexBase` will be ignored.
250
+
Auto binding `z-index` base on the prop `z-index-base` and adding `2` by each stackable modal. If zIndex is set, `z-index-auto`, `z-index-base` will be ignored.
251
251
252
-
## `zIndexBase`
252
+
## `z-index-base`
253
253
254
254
- Type: `[String, Number]`
255
255
- Default: `1000`
256
256
257
-
Calculate `z-index` automatically with zIndexBase. If zIndex is set, `zIndexAuto`, `zIndexBase` will be ignored.
257
+
Calculate `z-index` automatically with z-index-base. If zIndex is set, `z-index-auto`, `z-index-base` will be ignored.
258
258
259
-
## `zIndex`
259
+
## `z-index`
260
260
261
261
- Type: `[String, Number]`
262
262
- Default: `false`
263
263
264
-
Set specific `z-index` to root of the modal element. If zIndex is set, `zIndexAuto`, `zIndexBase` will be ignored.
264
+
Set specific `z-index` to root of the modal element. If zIndex is set, `z-index-auto`, `z-index-base` will be ignored.
265
265
266
-
## `focusRetain`
266
+
## `focus-retain`
267
267
268
268
- Type: `Boolean`
269
269
- Default: `true`
270
270
271
271
Focus the modal `vfm__container` after the modal enter.
272
272
273
-
## `focusTrap`
273
+
## `focus-trap`
274
274
275
275
- Type: `Boolean`
276
276
- Default: `false`
@@ -284,14 +284,14 @@ Enables focus trap meaning that only inputs/buttons that are withing the modal w
284
284
285
285
Enables draggable modal.
286
286
287
-
## `fitParent`
287
+
## `fit-parent`
288
288
289
289
- Type: `Boolean`
290
290
- Default: `false`
291
291
292
292
Limit the x-axis, y-axis, width and height of the `.vfm__content` to not exceed the `.vfm__container`.
293
293
294
-
## `dragSelector`
294
+
## `drag-selector`
295
295
296
296
- Type: `String`
297
297
- Default: `''`
@@ -307,7 +307,7 @@ Limit the x-axis, y-axis, width and height of the `.vfm__content` to not exceed
307
307
308
308
Only the element that was selected by `querySelectorAll(string)` can trigger drag modal.
309
309
310
-
## `keepChangedStyle`
310
+
## `keep-changed-style`
311
311
312
312
- Type: `Boolean`
313
313
- Default: `false`
@@ -321,35 +321,35 @@ Keep the style that was changed by `drag` and `resize` after modal closed.
0 commit comments