Skip to content

v2.0.0

Compare
Choose a tag to compare
@jamesssooi jamesssooi released this 14 Jan 13:32
· 37 commits to master since this release
  • Added the following three new callbacks for better control over how you can react to Croppr:

    • onCropStart: Triggers when users start modifying the crop region
    • onCropMove: Triggers when crop region changes (similar to the current onUpdate)
    • onCropEnd: Triggers when users stop modifying the crop region
  • Deprecated the onUpdate callback in favour of onCropMove. The callback still remains for backwards compatibility, but developers still using it will see a deprecation notice. See #7