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

How to rotate single object #863

Open
AaravShah042 opened this issue May 17, 2023 · 0 comments
Open

How to rotate single object #863

AaravShah042 opened this issue May 17, 2023 · 0 comments
Labels

Comments

@AaravShah042
Copy link

Describe the bug
I am trying to rotate the single object

To Reproduce
As per the docs, we have a rotate method to rotate the editor https://nhn.github.io/tui.image-editor/latest/ImageEditor#rotate
But I want to customize my editor in order to change the rotation of icons/object

So I added an icon
imageEditor.addIcon('arrow');

And I have the below design and want to manage the rotation of the arrow icon based on the HTML element click
image

Expected behavior
Using some method we can rotate the single object

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

No branches or pull requests

1 participant