mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
v1.3.5
This commit is contained in:
@@ -86,19 +86,17 @@ methods: {
|
|||||||
|
|
||||||
If you use **Bower** package manager - you will have to initialize library differently:
|
If you use **Bower** package manager - you will have to initialize library differently:
|
||||||
|
|
||||||
```
|
```js
|
||||||
Vue.use(window["vue-js-modal"].default);
|
Vue.use(window["vue-js-modal"].default);
|
||||||
```
|
```
|
||||||
|
|
||||||
### Dialog
|
### 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.
|
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:
|
To start using `<v-dialog/>` you must set `dialog: true` in plugin configuration:
|
||||||
|
|
||||||
```javascript
|
```js
|
||||||
Vue.use(VModal, { dialog: true })
|
Vue.use(VModal, { dialog: true })
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-js-modal",
|
"name": "vue-js-modal",
|
||||||
"description": "Modal Component for Vue.js",
|
"description": "Modal Component for Vue.js",
|
||||||
"version": "1.3.4",
|
"version": "1.3.5",
|
||||||
"author": "euvl <yev.vlasenko@gmail.com>",
|
"author": "euvl <yev.vlasenko@gmail.com>",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user