0.2.1 • Published 6 years ago

v-cropperjs v0.2.1

Weekly downloads
15
License
-
Repository
github
Last release
6 years ago

vue-cropperjs

A Vue component for use cropperjs.

Visit in https://vv13.github.io/v-cropperjs.

Installation

$ npm i v-cropperjs

Props

NameTypeRequiredDescription
srcstring--Img src
optionsobject--cropperjs's options
domPropsobject--Img DOM properties

Options

See cropperjs documentation for all posible options

Methods

cropperjs instance in component's data named 'cropper', so you can use it like this.$refs.SOME_REF_NAME.cropper.zoom(0.1).

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago