First of all, thanks for the Vue-Cropperjs plugging!
How can I allow users to zoom an image using a range slider? Like this gif below...
Reading more about it, I saw another pluging (vue-cropper) and they mentioned something like this below, but I didn't get it. Here is a link for their postthis.$refs.cropper.changeScale(1) can enlarge imagethis.$refs.cropper.changeScale(-1) can narrow imagethis.$refs.cropper.scale can get the current zoom ratio of the image
I came up with this below but is not working properly.
First of all, thanks for the Vue-Cropperjs plugging!
How can I allow users to zoom an image using a range slider? Like this gif below...
Reading more about it, I saw another pluging (vue-cropper) and they mentioned something like this below, but I didn't get it. Here is a link for their post
this.$refs.cropper.changeScale(1) can enlarge image
this.$refs.cropper.changeScale(-1) can narrow image
this.$refs.cropper.scale can get the current zoom ratio of the image
I came up with this below but is not working properly.