1.0.0-alpha.3 • Published 5 years ago
vue-simple-toast-plugin v1.0.0-alpha.3
vue-simple-toast-plugin
安装
npm i vue-simple-toast-plugin
yarn add vue-simple-toast-plugin
使用
//es7
const Vue from 'vue'
const SimpleToast from 'vue-simple-toast-plugin'
Vue.use(SimpleToast)
...
this.$Toast.info("this is test.")
//es6
var Vue = require('vue')
var SimpleToast = require('vue-simple-toast-plugin')
...
参数
效果展示
this.$Toast.info(...)
this.$Toast.success(...)
this.$Toast.warn(...)
this.$Toast.error(...)
this.$Toast.load(...)