Published 3 months ago by umerhassan
I am using vue-croppa library for image cropping https://github.com/zhanziyang/vue-croppa I have multiple initiated multiple images with same model. I defined instances in list, but want to get id of specific item on triggering function "handleCroppaFileChoose"
I am using vue js image cropper, I initiated 6 instances from one component as above. It assigned dynamically id to each instance. On each click I call "handleCroppaFileChoose" method but I want handler or element selector of clicked instance. If I use $(this) it returns "#imagesDiv" element.