mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 09:50:22 +00:00
Update README.md
This commit is contained in:
@@ -176,8 +176,10 @@ There is also a ssr build with css file extracted. Take a look in /dist folder.
|
||||
| classes | false | [String, Array] | 'v--modal'| Classes that will be applied to the actual modal box, if not specified, the default 'vue--modal' class will be applied |
|
||||
| width | false | [String, Number] | 600 | Width in pixels or percents (e.g. 50 or "50px", "50%") |
|
||||
| height | false | [String, Number] | 300 | Height in pixels or percents (e.g. 50 or "50px", "50%") or `"auto"` |
|
||||
| minWidth | false | Number | 0 | The minimum width to which modal can be resized |
|
||||
| minHeight | false | Number | 0 | The minimum height to which modal can be resized |
|
||||
| minWidth | false | Number (px) | 0 | The minimum width to which modal can be resized |
|
||||
| minHeight | false | Number (px) | 0 | The minimum height to which modal can be resized |
|
||||
| maxWidth | false | Number (px) | Infinity | The maximum width of the modal (if the value is greater than window width, window width will be used instead |
|
||||
| maxHeight | false | Number (px) | Infinity | The maximum width of the modal (if the value is greater than widnow height, window height will be used instead |
|
||||
| pivotX | false | Number (0 - 1.0) | 0.5 | Horizontal position in %, default is 0.5 (meaning that modal box will be in the middle (50% from left) of the window |
|
||||
| pivotY | false | Number (0 - 1.0) | 0.5 | Vertical position in %, default is 0.5 (meaning that modal box will be in the middle (50% from top) of the window |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user