mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-12-08 20:48:46 +00:00
Update README.md
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
[](https://badge.fury.io/js/vue-js-modal)
|
[](https://badge.fury.io/js/vue-js-modal)
|
||||||
|
|
||||||
##### Simple to use, highly customizable, mobile friendly Vue.js 2.0+ modal. http://vue-js-modal.yev.io/
|
##### Simple to use, highly customizable, mobile friendly Vue.js 2.0+ modal. http://vue-js-modal.yev.io/
|
||||||
|
##### (now works with SSR)
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://media.giphy.com/media/3oKIPco1eNxAA1rD4Q/giphy.gif">
|
<img src="https://media.giphy.com/media/3oKIPco1eNxAA1rD4Q/giphy.gif">
|
||||||
</p>
|
</p>
|
||||||
@@ -78,12 +78,12 @@ For full demo please look at `demo/server_side_rendering`
|
|||||||
| draggable | false | [Boolean, String]| false | If true, modal box will be draggable. |
|
| draggable | false | [Boolean, String]| false | If true, modal box will be draggable. |
|
||||||
| transition| false | String | | Transition name |
|
| transition| false | String | | Transition name |
|
||||||
| classes | false | [String, Array] | 'vue--modal'| Classes that will be applied to the actual modal box, if not specified, the default 'vue--modal' class will be applied |
|
| classes | false | [String, Array] | 'vue--modal'| Classes that will be applied to the actual modal box, if not specified, the default 'vue--modal' class will be applied |
|
||||||
| width | false | Number | 600 | |
|
| width | false | Number | 600 | Width |
|
||||||
| height | false | Number | 300 | |
|
| height | false | Number | 300 | Height |
|
||||||
| minWidth | false | Number | 0 | The minimum width to which modal can be resized |
|
| 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 |
|
| minHeight | false | Number | 0 | The minimum height to which modal can be resized |
|
||||||
| 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 top) of the window |
|
| 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 top) of the window |
|
||||||
| pivotY | false | Number (0 - 1.0) | 0.5 | |
|
| 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 left) of the window |
|
||||||
|
|
||||||
### Events
|
### Events
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user