0.0.3 • Published 7 years ago
vue-bs-notify v0.0.3
vue-bs-notify
Vue Bootstrap Notifications
Installation
$ npm install vue-bs-notify --save
Setup
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')