Foliotek / Croppie

A Javascript Image Cropper
http://foliotek.github.io/Croppie
MIT License
2.58k stars 884 forks source link

added function to set viewport after croppie was instantiated #664

Open mokraemer opened 5 years ago

mokraemer commented 5 years ago

like other utility functions this function can be used to set a new viewport. This function is useful, if you have e.g. predefined crop sizes and the user can change this via drop down or button.