Skip to content

Commit

Permalink
update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jnxyx committed Sep 12, 2016
1 parent fff7eb4 commit 03ca202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var upload = Upload(options);

<!-- ```bash
options = {
element //上传标签对象 [必填]
id //上传标签对象 ID [必填]
,
url //上传地址 [必填]
,
Expand All @@ -40,20 +40,12 @@ options = {
,
dragClass //拖拽样式 [选填]
,
uploadContainer //上传回调容器 [选填]
,
uploadTemp //上传模板 [选填]
,
ext //允许上传文件格式 [选填]
,
size //允许上传文件大小 [选填]
,
validateCallBack //上传文件验证失败回调[选填]
,
files //当前所有文件(函数)[选填] --- 待开发
};
``` -->

Expand Down
5 changes: 1 addition & 4 deletions src/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@
* [Upload description] created by xyx
* 支持拖拽上传
* @param {[type]} options [description]
* options.element 上传标签对象 [必填]
* options.id 上传标签对象ID [必填]
* options.url 上传地址 [必填]
* options.success 上传成功回调 [选填]
* options.error 上传失败回调 [选填]
* options.progress 上传进度回调 [选填]
* options.dragElement 拖拽容器对象 [选填]
* options.dragClass 拖拽样式 [选填]
*
* options.uploadContainer 上传回调容器 [必填]
* options.uploadTemp 上传模板 [选填]
*
* options.ext 允许上传文件格式 [选填]
* options.size 允许上传文件大小 [选填]
* options.validateCallBack 上传文件验证失败回调 [选填]
Expand Down

0 comments on commit 03ca202

Please sign in to comment.