Miss any of our Open RFC calls?Watch the recordings here! »

v-cropperjs

0.2.1 • Public • Published

vue-cropperjs

A Vue component for use cropperjs.

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

Installation

$ npm i v-cropperjs

Props

Name Type Required Description
src string -- Img src
options object -- cropperjs's options
domProps object -- 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).

Install

npm i v-cropperjs

DownloadsWeekly Downloads

0

Version

0.2.1

License

none

Unpacked Size

791 kB

Total Files

9

Last publish

Collaborators

  • avatar