This commit is contained in:
euvl
2017-11-19 09:17:37 +00:00
parent 01fe165efc
commit 5b94192457
2 changed files with 3 additions and 5 deletions

View File

@@ -86,19 +86,17 @@ methods: {
If you use **Bower** package manager - you will have to initialize library differently:
```
```js
Vue.use(window["vue-js-modal"].default);
```
### Dialog
In version `1.2.8`, the `<v-dialog/>` component was added.
It is a simplified version of the modal, which has most parameters set by default and is pretty useful for quick prototyping, showing alerts or creating mobile-like modals.
To start using `<v-dialog/>` you must set `dialog: true` in plugin configuration:
```javascript
```js
Vue.use(VModal, { dialog: true })
```

View File

@@ -1,7 +1,7 @@
{
"name": "vue-js-modal",
"description": "Modal Component for Vue.js",
"version": "1.3.4",
"version": "1.3.5",
"author": "euvl <yev.vlasenko@gmail.com>",
"main": "dist/index.js",
"repository": {