bootstrap-vue dialog helper
Implementation of vuedl dialog helper with Vuetify.js framework
This module will help you to work with modal dialogs in your project
NOTE: Module is in initial development. Anything may change at any time.
Documentation
Demo
Setup
Install the package from npm
npm install bootstrap-vue-dialog
Vue
context
- the context of your application, such as store, axios, router etc.property
- the property, which will integrate to Vue. Default is$dialog
Simple confirm dialog
const res = await this$dialog
Warning dialog
const res = await this$dialog
Error dialog
this$dialog
Propt dialog
let res = await this$dialogprompt text: 'Your name' title: 'Please input your name'
Floating notifications
this$dialognotifythis$dialognotifythis$dialognotifythis$dialognotifythis$dialognotifythis$dialognotifythis$dialognotify
Actions
To all this simple dialogs you can config your actions, just send
... actions: 'false': 'No' 'true': 'Yes' // result will be true, false, or undefigned ... actions: 'No' 'Yes'// result will be 'No', 'Yes', or undefigned
You can also set options
actions: text: 'Yes' color: 'blue' key: true { // on button click }