Vue.js modal
Simple to use, highly customizable, mobile friendly Vue.js 2.0+ modal with SSR support.
Install
How to use
Include plugin in your main.js
file.
Create modal:
Call it from anywhere in the app:
You can easily send data into the modal:
And receive it in beforeOpen
event handler:
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:
And include it in your project:
Call it (all params except of “text” are optional):
Author
euvl