Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: rotation & onRotationChange #46

Open
egertpiksar opened this issue May 29, 2023 · 1 comment
Open

Feature request: rotation & onRotationChange #46

egertpiksar opened this issue May 29, 2023 · 1 comment

Comments

@egertpiksar
Copy link

egertpiksar commented May 29, 2023

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

@ValentinH
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants