Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Commit

Permalink
get Cropper instance documentation (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
begin29 authored and Fengyuan Chen committed Mar 2, 2018
1 parent e5c8ccc commit 8b21efc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ $('#image').cropper({
});
```

After initialize can get `Cropper` instance:

```js
$('#image').data('cropper');
```

## Options

See the available [options](https://github.com/fengyuanchen/cropperjs#options) of Cropper.js.
Expand Down

0 comments on commit 8b21efc

Please sign in to comment.