From f57429cb58099d2fd6e6acca94c27ed3cccd550e Mon Sep 17 00:00:00 2001 From: Mr Kwong Date: Wed, 13 Jan 2016 10:12:42 +0800 Subject: [PATCH 1/3] add en specification --- README.md | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 3d967ec..34791d4 100644 --- a/README.md +++ b/README.md @@ -1,40 +1,44 @@ # dropload - +a javascript implementation of pull to refresh and up to loadmore 移动端下拉刷新、上拉加载更多插件 -## 背景介绍 +## 背景介绍 (introduce) 根据网友提议,默认内容过少时,自动触发加载下方内容,只会加载一次,如果内容还不够一屏,无法继续触发。并且修复`lock()`,增加参数可以手动锁定上方或者下方。 [历史背景介绍](Intro.md) -## 最新版本 +## 最新版本 (The last version) ### 0.7.0(151225) -* 增加默认判断内容过少自动加载下方内容 +* 增加默认判断内容过少自动加载下方内容 +* Add the content load automatically when it less than a screen * 优化`lock()`,默认智能判断,如加参数`lock('up')`锁定上方,如加参数`lock('down')`锁定下方 +* lock automatically and use 'lock('up')' and lock('down') to lock refresh and loadmore [所有更新日志](Changelog.md) -## 示例 +## 示例 (demo) ![扫一扫](examples/load-bottom.png) -[DEMO1,加载底部](http://ximan.github.io/dropload/examples/load-bottom.html) +[DEMO1,加载底部(loadmore)](http://ximan.github.io/dropload/examples/load-bottom.html) ![扫一扫](examples/load-top-bottom.png) -[DEMO2,加载顶部、底部](http://ximan.github.io/dropload/examples/load-top-bottom.html) +[DEMO2,加载顶部、底部(refresh & loadmore)](http://ximan.github.io/dropload/examples/load-top-bottom.html) ![扫一扫](examples/product-list.png) -[DEMO3,固定布局,加载顶部、底部](http://ximan.github.io/dropload/examples/product-list.html) +[DEMO3,固定布局,加载顶部、底部(refresh & loadmore with fixed navbar)](http://ximan.github.io/dropload/examples/product-list.html) -## 依赖 +## 依赖 (dependence) Zepto 或者 jQuery 1.7以上版本,推荐jQuery 2.x版本(二者不要同时引用) +Zepto or jQuery 1.7+,recommend to use jQuery 2.x(not use them at the same time) -## 使用方法 +## 使用方法 (usage) 引用css和js +(basic) @@ -64,7 +68,7 @@ $('.element').dropload({ 进阶用法详见上面DEMO2,DEMO3 -## 参数列表 +## 参数列表 (options) | 参数 | 说明 | 默认值 | 可填值 | |------------|-------------|--------|----------------| @@ -96,4 +100,4 @@ $('.element').dropload({ ## dropload使用交流群 -[群号:290725368,点击加群](http://shang.qq.com/wpa/qunwpa?idkey=2c58606fdfb5d6be4021a678e1506fdbbbc480aabdca0eeb115c2f4ff5bc69ee) \ No newline at end of file +[群号:290725368,点击加群](http://shang.qq.com/wpa/qunwpa?idkey=2c58606fdfb5d6be4021a678e1506fdbbbc480aabdca0eeb115c2f4ff5bc69ee) From 0b23122262e0bd50a18348b4e4b672d6f1f8a743 Mon Sep 17 00:00:00 2001 From: Mr Kwong Date: Wed, 13 Jan 2016 10:13:56 +0800 Subject: [PATCH 2/3] br --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 34791d4..eaa3479 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # dropload a javascript implementation of pull to refresh and up to loadmore +  移动端下拉刷新、上拉加载更多插件 ## 背景介绍 (introduce) From 4345b3d1179e4802b7c284087d2547318197d4b3 Mon Sep 17 00:00:00 2001 From: Mr Kwong Date: Wed, 13 Jan 2016 10:15:52 +0800 Subject: [PATCH 3/3] add
--- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eaa3479..935fcab 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # dropload a javascript implementation of pull to refresh and up to loadmore -  +
移动端下拉刷新、上拉加载更多插件 ## 背景介绍 (introduce) @@ -13,9 +13,11 @@ a javascript implementation of pull to refresh and up to loadmore ### 0.7.0(151225) -* 增加默认判断内容过少自动加载下方内容 +* 增加默认判断内容过少自动加载下方内容 +
* Add the content load automatically when it less than a screen * 优化`lock()`,默认智能判断,如加参数`lock('up')`锁定上方,如加参数`lock('down')`锁定下方 +
* lock automatically and use 'lock('up')' and lock('down') to lock refresh and loadmore [所有更新日志](Changelog.md) @@ -34,11 +36,13 @@ a javascript implementation of pull to refresh and up to loadmore ## 依赖 (dependence) Zepto 或者 jQuery 1.7以上版本,推荐jQuery 2.x版本(二者不要同时引用) +
Zepto or jQuery 1.7+,recommend to use jQuery 2.x(not use them at the same time) ## 使用方法 (usage) 引用css和js +
(basic)