h-loading
v1.0.5
Published
h-loading is a mobile toast plugin for vue.js
Readme
h-loading
vue.js 移动端 alert 组件
使用方法
options:
{
masker: true, // 遮罩
maskerStyle: "", // 遮罩样式
txt: "加载中...", // 加载显示文字
icon: "bars", // 图标
duration: 0, // 延时,默认为0,调用 hideLoading 关闭
txtStyle: "" // 文本样式
} var Loading = require('h-loading');
Vue.use(Loading);Basic use:
vm.$Loading({
txt: "bars",
duration: 1000,
icon: "bars"
});