Agontuk / vue-cropperjs

A Vue wrapper component for cropperjs https://github.com/fengyuanchen/cropperjs
MIT License
932 stars 225 forks source link

Example #90

Closed damianlluch closed 3 years ago

damianlluch commented 3 years ago

Hi! thanks for your job.

In your example not set value the values of this properties. You can provide an example please?

thanks!

@ready="..." @cropstart="..." @cropmove="..." @cropend="..." @crop="..." @zoom="..."

christhofer commented 3 years ago

Attributes started with @ is an event handler that receive a function to be called For example if you have <button @click="myFunction">click me</button>, myFunction() will be called when the button is clicked. They are optional, most likely you don't need most of them.

This plugin is just a vue wrapper for cropperjs, you should read the complete docs there

Agontuk commented 3 years ago

As @christhofer pointed out, you can checkout the documentation in cropperjs repo.