svelte-easy-crop
svelte-easy-crop copied to clipboard
Feature request: rotation & onRotationChange
| rotation | number (in degrees) | Rotation of the media. Defaults to 0. |
|---|
| onRotationChange | rotation => void | Called every time the rotation is changed (with mobile or multi-fingers gestures). Use it to update your rotation state. |
|---|
https://github.com/ValentinH/react-easy-crop
This is one of the most complex feature of the react version but must of the logic (especially the maths parts) can be taken as-is.
If someone is willing to create a PR, I'd be happy to review. However, I'll not have the time to do it myself.