@nextgis/vuetify-notice
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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',
});

Readme

Keywords

Package Sidebar

Install

npm i @nextgis/vuetify-notice

Weekly Downloads

79

Version

0.0.1

License

ISC

Unpacked Size

20.1 kB

Total Files

5

Last publish

Collaborators

  • rendrom
  • maximdubinin
  • karavanjo