Published by fengyuanchen about 1 year ago
rounded
option to the getCroppedCanvas
method (#1047).Published by fengyuanchen almost 2 years ago
backface-visibility: hidden
to the cropper image to avoid ghost lines when moving (#982).cropper-hide
class from cropper image.Published by fengyuanchen over 2 years ago
As of v2.0.0-beta, Cropper.js has been refactored with custom elements, which is completely different from v2.0.0-alpha.
Published by fengyuanchen almost 3 years ago
Published by fengyuanchen over 3 years ago
Published by fengyuanchen over 3 years ago
Published by fengyuanchen over 3 years ago
Published by fengyuanchen about 4 years ago
Published by fengyuanchen about 4 years ago
minContainerWidth/Height
options is 0
(#683).minCanvasWidth/Height
options is set (#725).Published by fengyuanchen over 4 years ago
Published by fengyuanchen almost 5 years ago
Published by fengyuanchen about 5 years ago
Published by fengyuanchen about 5 years ago
crossOrigin
attribute always even though the checkCrossOrigin
is set to false
(#535).Published by fengyuanchen over 5 years ago
alt
attribute to all internal images for better accessibility (#548).enum
s to type
s from the definition files for TypeScript (#550).Published by fengyuanchen over 5 years ago
Published by fengyuanchen over 5 years ago
Published by fengyuanchen over 5 years ago
300
to 200
.150
to 100
.Published by fengyuanchen over 5 years ago
zoom
event:
event.detail.ratio
=> event.detail.scale
event.detail.oldRatio
=> event.detail.oldScale
maxCanvasWidth
, maxCanvasHeight
, maxCropBoxWidth
and maxCropBoxHeight
.getCropBoxData
method: naturalWidth
and naturalHeight
.Published by fengyuanchen over 5 years ago
passive: false
and capture: true
to wheel event for better performance.