fengyuanchen / cropperjs

JavaScript image cropper.
https://fengyuanchen.github.io/cropperjs/
MIT License
13.15k stars 2.42k forks source link

Create example code of v2 as like v1 #1201

Closed skwebs closed 1 month ago

skwebs commented 2 months ago

As like V1 please create Example Code for V2. It helps beginner to understand and crete project.

fengyuanchen commented 1 month ago

There are many simple examples in the API documentation, e.g.: https://fengyuanchen.github.io/cropperjs/v2/api/cropper-selection.html#examples

skwebs commented 1 month ago

I humbly request to add complete working example code with vanilla js, reactjs and other js framework on GitHub so beginners can understand or clone it and use it.

Something like : https://github.com/fengyuanchen/cropperjs/blob/main/docs/examples/cropper-in-modal.html