Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

v0.8.0

Compare
Choose a tag to compare
@fengyuanchen fengyuanchen released this 19 Feb 12:23
· 753 commits to master since this release
  • Refactored source code.
  • Compiles CSS with Less CSS preprocessors.
  • Supports fixed container.
  • Supports rotation with CSS3 Transform3d.

Options:

  • Change the default value of "aspectRatio"
  • Rename "done" to "crop"
  • Rename "dashed" to "guides"
  • Rename "multiple" to "global"
  • Add "background"
  • Add "highlight"
  • Add "responsive"
  • Add "mouseWheelZoom"
  • Add "touchDragZoom"
  • Add "minCropBoxWidth"
  • Add "minCropBoxHeight"
  • Add "minContainerWidth"
  • Add "minContainerHeight"
  • Remove "data"
  • Remove "minWidth"
  • Remove "minHeight"
  • Remove "maxWidth"
  • Remove "maxHeight"

Methods:

  • Change "reset"
  • Add "setImageData"
  • Add "getCropBoxData"
  • Add "setCropBoxData"
  • Add "move"
  • Remove "setData"