vue-bulma-toastr

0.1.98 • Public • Published

Vue Bulma Toastr

Package contains a bulma based vue toastr component. All classes of vue notificationa are inheritted over here.

Note: THIS IS ON TESTING PHASE And NOT STABLE

Setup

Using npm

npm install  vue-bulma-toastr --save

Or using yarn

yarn add  vue-bulma-toastr

Usage

Import Component

import BulmaToastr from 'vue-bulma-toastr'
 
Vue.use(BulmaToastr)

Optional Global configuration options

var toastrConfigs = {
    position: 'top right',
    showDuration: 2000
}
Vue.use(BulmaToastr, toastrConfigs)

Call Notification Instance

this.$toast.success({
    message:''
})

type

  • success
  • info
  • warning
  • error

position

  • top right
  • bottom right
  • bottom left
  • top left
  • top center
  • bottom center
  • top full width
  • bottom full width

Readme

Keywords

Package Sidebar

Install

npm i vue-bulma-toastr

Weekly Downloads

1

Version

0.1.98

License

MIT

Unpacked Size

539 kB

Total Files

21

Last publish

Collaborators

  • labtocat