分类
默认

loading 加载

loading(content, [options])

loading 加载

Kind: global function

Param Type Description
content string loading的文字
[options] object 配置项
[options.className] string 自定义类名

Example

var loading = weui.loading('loading', {
    className: 'custom-classname'
});
setTimeout(function () {
    loading.hide(function() {
         console.log('`loading` has been hidden');
     });
}, 3000);