@dlophin/vue-toast

a vue plugin

Stats

StarsIssuesVersionUpdatedCreatedSize
@dlophin/vue-toast
1.1.13 years ago3 years agoMinified + gzip package size for @dlophin/vue-toast in KB

Readme

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.