1.1.1 • Published 7 years ago
vue-semantic-ui-toastr v1.1.1
Toastr
semantic-ui-toastr component for Vue.
Installation
$ npm install vue-semantic-ui-toastr --save
Examples
// main.js
import Vue from 'vue'
import Toastr from 'vue-semantic-ui-toastr'
Vue.use(Toastr, {
duration: 3000,
container: '.toastr-container',
autoshow: true,
html: false,
position: 'right top'
})
// App.vue
this.$toastr
.h('Header')
.i('Message')