1.1.1 • Published 6 years ago

@dlophin/vue-toast v1.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

vue-toast

A Vue.js project

Build Setup

# install dependencies
npm install -D @dlophin/vue-toast

# import
import vueToast from '@dlophin/vue-toast'
Vue.use(vueToast)

# use
this.$showToast({
  content: 'this is a toast' //
  duration: 3000              // stop time
  success: ()=>{}            // transfer success function
  end: ()=>{}                //  the toast remove  function
})

# also choice postion
this.$showToast.top();
this.$showToast.center();
this.$showToast.bottom();

For detailed explanation on how things work, consult the docs for vue-loader.

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago