Skip to content

Commit f4c9e60

Browse files
committed
add crop btn support
1 parent 9143c1c commit f4c9e60

File tree

7 files changed

+44
-2582
lines changed

7 files changed

+44
-2582
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Use CDN Script(ES5)
8080
| extensions | String | 'png,jpg,gif' | limit the file type |
8181
| crop | Boolean | true | if need crop image |
8282
| cropRatio | String | '1:1' | limit the cropped image shape|
83+
| cropBtn | Object | {ok:'Save','cancel':'Give Up'} | the text of crop button|
8384
| maxFileSize | Number | 10485760(10M) | limit the file size|
8485
| maxWidth | Number | 150 | limit the width of your image you cropped|
8586
| maxheight | Number | 150 | limit the height of your image you cropped|

demo/demo.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)