Releases: advanced-cropper/vue-advanced-cropper
Releases · advanced-cropper/vue-advanced-cropper
0.13.0
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 }