Changelog
[1.0.0] - 2024-12-01
viewport.type
option with viewport.borderRadius
.
This option takes a string containing a CSS length or percentage, and defaults to "0px"
.
To upgrade code that used the "circle"
viewport type, instead set the border radius to "50%"
.Changelog
[0.9.1] - 2024-11-07
Changelog
[0.9.0] - 2024-10-23
Changelog
[0.8.9] - 2024-06-26
Changelog
[0.8.8] - 2023-11-21
Changelog
[0.8.6] - 2023-11-14
quality < 1
to avoid unexpectedly large files.Changelog
[0.8.4] - 2023-11-12
This is the initial pre-release after forking from Foliotek/Croppie v2.6.5.
zoomerInputClass
option to customize the range input class.setOptions()
method to dynamically change options on a Cropt instance.result()
method with separate toCanvas()
and toBlob()
methods.toBlob
is now "image/webp"
.mousewheel
and DOMMouseScroll
events to standard wheel
events.mouseWheelZoom
option is now consistently a string.bind()
(set zoom instead).update
callback and events.get()
method.customClass
option (set directly on the bound element instead).enforceBoundary
option (boundaries are always enforced now).enableOrientation
option.enableZoom
option (zooming is always enabled now, though mouse wheel behavior can be customized).boundary
width/height options (customize via CSS instead).enableResize
option.showZoomer
option (hide via CSS instead if desired).