Skip to content

resultate/vue-cropperjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-cropperjs

A Vue wrapper component for cropperjs.

Installation

npm install --save vue-cropperjs

You will also need css & style loader for webpack

Usage

See the example files & cropperjs documentation

Options

src

  • Type: string
  • Required: true

style

  • Type: object
  • Required: false

Styling for the image container

imgStyle

  • Type: object
  • Required: false

Styling for the image

alt

  • Type: string
  • Required: false

Alternate text for the image

Crop related options

See cropperjs documentation for all posible options & methods.

License

MIT

Packages

No packages published

Languages

  • JavaScript 78.7%
  • Vue 19.1%
  • HTML 2.2%