jofftiquez / vue-croppie

Vue wrapper for croppie
https://jofftiquez.github.io/vue-croppie/
MIT License
260 stars 42 forks source link

enableOrientation, enableResize set in props vue-croppie no working! #63

Closed rukadh2 closed 5 years ago

rukadh2 commented 5 years ago

I have code : vue-croppie(ref='croppieRef', :enableOrientation="false", :enableResize="false"

Error: enableResize = false, vue-croppie not working.

I tried: Replace all "enableOrientation" and "enableResize" in file vue-croppie.js => Result: enableResize and enableOrientation working [OK]

P/S: sorry my english is not good

jofftiquez commented 5 years ago

Hi @rukadh2 can you show me the actual screenshot of the error? Thanks.

rukadh2 commented 5 years ago

I tried: Replace all: "enableOrientation" and "enableResize" in file vue-croppie.js enableOrientation => enableorientation enableResize => enableresize

=> Result: [OK]

ERR Err

FIX Fix

jofftiquez commented 5 years ago

Got it. Thanks.

jofftiquez commented 5 years ago

Are you using single file component?

rukadh2 commented 5 years ago

Yes!

This file is https://github.com/jofftiquez/vue-croppie/blob/master/dist/vue-croppie.js