Vue - Tooltips.js
Vue 2.x+
默认类型
默认
成功
警告
危险
设置带 icon
[图标样式需自己设置]
成功
警告
危险
设置关闭时间
5 秒后消失
设置关闭时回调
我会 alert(1);
多文字展示
[手机下预览效果更明显]
我是非常多的文字
更多调用方法
默认:this.$tooltips(msg, options)
this.$tooltips.success(msg, options)
this.$tooltips.warning(msg, options)
this.$tooltips.error(msg, options)
#About
M.J
GitHub