A bulma based vue toastr, ie bulma notification wrapper
Package contains a bulma based vue toastr component. All classes of vue notificationa are inheritted over here.
Using npm
npm install vue-bulma-toastr --save
Or using yarn
yarn add vue-bulma-toastr
import BulmaToastr from 'vue-bulma-toastr'
Vue.use(BulmaToastr)
Optional Global configuration options
var toastrConfigs = {
position: 'top right',
showDuration: 2000
}
Vue.use(BulmaToastr, toastrConfigs)
this.$toast.success({
message:''
})
success
info
warning
error
top right
bottom right
bottom left
top left
top center
bottom center
top full width
bottom full width