Update README.md

This commit is contained in:
Yev Vlasenko
2017-08-10 11:00:48 +01:00
committed by GitHub
parent 67159cc6de
commit f4ba0e6caf

View File

@@ -82,11 +82,11 @@ methods: {
### Dialog
In version `1.2.8`, the `<Dialog/>` componnent was added.
In version `1.2.8`, the `<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 `<Dialog/>` you will have set a configuration:
To start using `<Dialog/>` you must set `dialog: true` in plugin configuration:
```javascript
Vue.use(VModal, { dialog: true })
@@ -297,6 +297,7 @@ For specific modal:
```vue
<modal name="fs" :adaptive="true" width="100%" height="100%">
Dont forget about close button :)
</modal>
```