From 3b4b574bee4fd29ecf4d0e44943a337238141a30 Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Sun, 28 Jan 2018 10:13:45 +0000 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a18fe3..e475c1b 100644 --- a/README.md +++ b/README.md @@ -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 |