Skip to content

Commit

Permalink
'update'
Browse files Browse the repository at this point in the history
  • Loading branch information
tianxiangbing committed Jul 18, 2017
2 parents f39afd1 + 16a4f63 commit c495c17
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Expand Up @@ -7,7 +7,7 @@ loading...

[https://github.com/tianxiangbing/network](network)有对loading作一个完美的演示

#调用示例
# 调用示例
html:

<p>
Expand Down Expand Up @@ -51,16 +51,16 @@ js:
load.stop();
}, 30000)
});
#API
##属性
###target:string||dom
# API
## 属性
### target:string||dom
需要显示loading的节点,不传值时显示全屏的loading
##方法
###start:function()
## 方法
### start:function()
开始loading
###stop:function()
### stop:function()
结束loading,这里会销毁loading节点
##事件
###stop
## 事件
### stop
target的stop事件触发时,结束loading. 如
$('html').trigger('stop')会结束全屏的loading动画.
$('html').trigger('stop')会结束全屏的loading动画.

0 comments on commit c495c17

Please sign in to comment.