Skip to content

Releases: jamesssooi/Croppr.js

v2.3.0

12 May 15:07
Compare
Choose a tag to compare
  • Added setImage method to change image source after Croppr is initialised.

v2.2.1

29 Jan 15:23
Compare
Choose a tag to compare
  • Added Typescript typings for the project

See #6.

v2.1.0

25 Jan 14:42
Compare
Choose a tag to compare
  • Added destroy method to remove the Croppr instance and restore the original img element

v2.0.0

14 Jan 13:32
Compare
Choose a tag to compare
  • 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