You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Is there a way to update cropperOptions after that the cropper component has been already rendered?
Here's an example :
<angular-cropper [cropperOptions]="config" [imageUrl]="imageUrl">
ngOnInit() {
this.config={} //my initial options
}
Hello,
Is there a way to update cropperOptions after that the cropper component has been already rendered?
Here's an example :
<angular-cropper [cropperOptions]="config" [imageUrl]="imageUrl">
ngOnInit() {
this.config={} //my initial options
}
afterACertainEvent()
{
this.config = {"rotatable":false, "viewMode":3} //
}
When the method afterACertainEvent is fired the angular-cropper component stays the same.
How can I update or rerender the component ?
Thanks
The text was updated successfully, but these errors were encountered: