0.0.4 • Published 8 years ago
uni-notification v0.0.4
vue-bs-notify
Vue Bootstrap Notifications
Installation
$ npm install vue-bs-notify --saveSetup
import Notifications from 'vue-bs-notify'
Vue.use(Notifications)Usage
The show method accetps an object.
this.$notify.show({message: 'Hello world', type: 'default'})There are 6 helper functions who will accet just a string.
this.$notify.primary('Hello world')
this.$notify.default('Hello world')
this.$notify.success('Hello world')
this.$notify.info('Hello world')
this.$notify.warning('Hello world')
this.$notify.danger('Hello world')