JavaScript image cropper.
minContainerWidth/Height
options is 0
(#683).minCanvasWidth/Height
options is set (#725).crossOrigin
attribute always even though the checkCrossOrigin
is set to false
(#535).alt
attribute to all internal images for better accessibility (#548).enum
s to type
s from the definition files for TypeScript (#550).300
to 200
.150
to 100
.zoom
event:
event.detail.ratio
=> event.detail.scale
event.detail.oldRatio
=> event.detail.oldScale
maxCanvasWidth
, maxCanvasHeight
, maxCropBoxWidth
and maxCropBoxHeight
.getCropBoxData
method: naturalWidth
and naturalHeight
.