We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have two input text field for entering desired height and width, can stencil be placed according to that value.
The text was updated successfully, but these errors were encountered:
@Ananthumpillai, yes, of course, you can set the coordinates programatically.
Sorry, something went wrong.
I want something like this According to my height and width stencil has to relocate @Norserium
@Ananthumpillai, I don't get, you can set the coordinates also. For example:
const resize(width, height) => { if (cropperRef.current) { cropperRef.current.setCoordinates(({ coordinates }) => { width: width, height: height, left: (coordinates.left + coordinates.width / 2) - width / 2, top: (coordinates.top + coordinates.height / 2) - height / 2 }) } };
No branches or pull requests
I have two input text field for entering desired height and width, can stencil be placed according to that value.
The text was updated successfully, but these errors were encountered: