Closed laura2489 closed 7 years ago
I am thinking about having emptyClass and class defined as settings on the CropperSettings that will be assigned on the Canvas native element - will this work for you?
Hope so. I'll have to try it to know for sure, but it sounds like a good idea.
Fixed by adding:
this.cropperSettings1.cropperClass = 'custom-class'; this.cropperSettings1.croppingClass = 'cropping';
You can hide the cropper as such: .custom-class { visibility: hidden; }
.cropping { visibility: visible; }
@cstefanache I set the class and styled it as your instruction. But it doesn't work.
@sorakthunly you have to place the class inside your main stylesheet, not your component stylesheet.
This cropper works very well for me, but i cannot make the canvas white or hide it until an image is uploaded. Please help me:![image](https://cloud.githubusercontent.com/assets/6919922/23949036/414d8e30-098e-11e7-9c65-4d803016e773.png)