Skip to content

Releases: advanced-cropper/vue-advanced-cropper

0.13.0

18 Oct 18:24
Compare
Choose a tag to compare
0.13.0 Pre-release
Pre-release

1. Fix transpiling of ES6 modules

See this issue for details.

2. Props changes

The old approach to pass arguments to algorithm function is deprecated now. Please update your code.

areaSize

The function passed to this prop should accept the only argument an object: { cropper, image, imageWidth, imageHeight }

defaultSize

The function passed to this prop should accept the only argument an object: { cropper, image, minWidth, minHeight, maxWidth, maxHeight, imageWidth, imageHeight, props }

defaultPosition

The function passed to this prop should accept the only argument an object: { cropper, image, stencilWidth, stencilHeight, imageWidth, imageHeight, props }

percentRestrictions

The function passed to this prop should accept the only argument an object: { minWidth, minHeight, maxWidth, maxHeight, imageWidth, imageHeight }