mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-12-08 20:48:46 +00:00
Merge branch 'master' of https://github.com/euvl/vue-modal
This commit is contained in:
@@ -82,11 +82,11 @@ methods: {
|
|||||||
|
|
||||||
### Dialog
|
### Dialog
|
||||||
|
|
||||||
In version `1.2.8`, the `<Dialog/>` component was added.
|
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 `<Dialog/>` you must set `dialog: true` in plugin configuration:
|
To start using `<v-dialog/>` you must set `dialog: true` in plugin configuration:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
Vue.use(VModal, { dialog: true })
|
Vue.use(VModal, { dialog: true })
|
||||||
@@ -95,7 +95,7 @@ Vue.use(VModal, { dialog: true })
|
|||||||
And include it in your project:
|
And include it in your project:
|
||||||
|
|
||||||
```vue
|
```vue
|
||||||
<dialog/>
|
<v-dialog/>
|
||||||
```
|
```
|
||||||
|
|
||||||
Call it (all params except of “text” are optional):
|
Call it (all params except of “text” are optional):
|
||||||
@@ -320,7 +320,7 @@ npm install
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
# Build and run demo
|
# Build and run demo
|
||||||
cd demo
|
cd demo/client_side_rendering
|
||||||
npm install
|
npm install
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user