Skip to content

MoeKit/loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loader


spm version Build Status Coverage Status

简单的加载提示


Usage

var loader = require('loader');
new loader({
   target:'#loader-box',
   number: 4,
   speed: 100
}).show();

选项

target

目标容器

number

加载bar的数量

speed

速度,单位为ms

style.width

单个bar宽度

style.height

单个bar高度

方法

show

显示加载条

hide

隐藏加载条

Releases

No releases published

Packages

No packages published