1.0.7 • Published 5 years ago

@wakuwaku/cropper-js v1.0.7

Weekly downloads
53
License
ISC
Repository
github
Last release
5 years ago

1PACVietnam Cropper js

Purpose

  1. Custom croppie. and fix rotate image when loaded.
  2. Using self-coding to mapping with out project.
  3. Seperate code making project minimal.

Dependencies

  1. croppie - 2.6.4.
  2. exif-js - 2.2.1.

Usage

  1. Structure html must follow

  2. Install @wakuwaku/cropper-js

  npm install @wakuwaku/cropper-js
  1. Usage
  import 'Cropper' from '@wakuwaku/cropper-js'
  const formAvatar = document.querySelector('.js-input-avatar')
  if (formAvatar) new Cropper()._initCroppie()
  1. Default options options, default options

For further information about these options. Visit here.

Result

options, default options

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago