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
Copy file name to clipboardExpand all lines: docs/Properties.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Draggable property can accept String parameters. With String value, you can spec
42
42
43
43
Enables scroll within the modal when the height of the modal is greater than the screen.
44
44
45
-
::: warning
45
+
::: warning Note
46
46
This feature only works when `height` is set to `"auto"`
47
47
:::
48
48
@@ -104,7 +104,7 @@ List of class that will be applied to the modal window (not overlay, just the bo
104
104
Style that will be applied to the modal window.
105
105
106
106
107
-
::: warning
107
+
::: warning Note
108
108
To be able to support string definition of styles there are some hacks in place.
109
109
110
110
Vue.js does not allow merging string css definition with an object/array style definition. There are very few cases where you might need to use this property, but if you do - write tests :)
@@ -118,7 +118,7 @@ Width in pixels or percents (50, "50px", "50%").
118
118
119
119
Supported string values are `<number>%` and `<number>px`
120
120
121
-
::: warning
121
+
::: warning Note
122
122
This is not CSS size value, it does not support `em`, `pem`, etc. Plugin requires pixels to recalculate position and size for draggable, resaziable modal.
123
123
If you need to use more value types, please consider contributing to the parser [here](https://github.com/euvl/vue-js-modal/blob/master/src/utils/parser.js).
124
124
:::
@@ -131,6 +131,11 @@ Height in pixels or percents (50, "50px", "50%") or `"auto"`.
131
131
132
132
Supported string values are `<number>%`, `<number>px` and `auto`. Setting height to `"auto"` makes it automatically change the height when the content size changes (this works well with `scrollable` feature).
133
133
134
+
::: warning Note
135
+
This is not CSS size value, it does not support `em`, `pem`, etc. Plugin requires pixels to recalculate position and size for draggable, resaziable modal.
136
+
If you need to use more value types, please consider contributing to the parser [here](https://github.com/euvl/vue-js-modal/blob/master/src/utils/parser.js).
0 commit comments