Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #4 from pa3py6aka/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
terebentina authored Feb 3, 2018
2 parents 76cf41b + e70088c commit 7163b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ To get crop results, bind a function on the crop event or read the object's resu
A reference to the crop object can be accessed like so:
```javascript
var crop = $('img.crop').data('jQcrop');
console.log(crop.results);
console.log(crop.result);
```
You then have access to all the properties and methods used for that specific element.
Most important is that you can alter the width/height and have the plugin auto-recalculate the crop results and auto-resize:
Expand Down

0 comments on commit 7163b35

Please sign in to comment.