vue-croppa
vue-croppa copied to clipboard
_vm.croppa.hasImage is not a function
I've a problem with hasImage() method...
<v-btn color="primary" @click.native="step = 3" :disabled="croppa.hasImage()">Continue</v-btn>
I get this error:
_vm.croppa.hasImage is not a function
I have the same error. Did you find a solution @pirmax?
Edit: seems like you can only use it inside a method. For example, in my save() method, i have something like:
if (this.croppa.hasImage()) { // do something }
Use croppa.imageSet check instead of calling hasImage() method.