advanced-cropper / vue-advanced-cropper

The advanced vue cropper library that gives you opportunity to create your own croppers suited for any website design
https://advanced-cropper.github.io/vue-advanced-cropper/
Other
933 stars 130 forks source link

Set canvas to false is not working #117

Closed Elvincth closed 3 years ago

Elvincth commented 3 years ago

<cropper ... :canvas="false"

I have followed https://norserium.github.io/vue-advanced-cropper/components/cropper.html#props and set the canvas to false, but still when I inspect the cropper it still got canvas, also in vue inspect tool there isn't a prop call canvas.

Still got canvas in the elemet: image

No canvas prop: image

Norserium commented 3 years ago

@Elvincth why do you want to eliminate the canvas elements?

Elvincth commented 3 years ago

@Elvincth why do you want to eliminate the canvas elements?

For better performance, as I would like to use the cropper to show "annotation" part of the image, the user won't be able to resize, or change the stencile, so canavs would not be use I guess?

e.g. image

Norserium commented 3 years ago

Actually, that canvases are empty, until you try to get the canvas property of the result.

Elvincth commented 3 years ago

Actually, that canvases are empty, until you try to get the canvas property of the result.

Got it ! Then it should be ok. Thankas a lot.