@nextgis/vuetify-notice
vuetify-notice
Component to display quick message and dialog to a user from vuetify app.
Based on vuetify-confirm
Installation
npm i @nextgis/vuetify-notice
import { NoticeSetup, NoticeSetupOptions } from '@nextgis/vuetify-notice';
import Vue from 'vue';
import vuetify from './plugins/vuetify';
const noticeOptions = {
vuetify,
};
Vue.use(NoticeSetup, noticeOptions);
const app = new Vue({
vuetify,
el: '#app',
});
import { confirmDialog, notice } from '@nextgis/vuetify-notice';
confirmDialog('Question').then((answer) => {
if (answer) {
this.doSomething();
}
});
notice(`message`, {
color: 'error',
});
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.1 | ^2.6.14 | ISC | |
| 0.0.0 | ^2.6.12 | ISC |