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

transformer configs? #208

Open
dakiba opened this issue Nov 30, 2022 · 1 comment
Open

transformer configs? #208

dakiba opened this issue Nov 30, 2022 · 1 comment

Comments

@dakiba
Copy link

dakiba commented Nov 30, 2022

I tried the example:
https://konvajs.org/docs/vue/Transformer.html

But how can I give the transformer the configs? Like here? https://konvajs.org/docs/select_and_transform/Keep_Ratio.html
I have to disable the rotation and keep the ratio ...

Greetings

@lavrton
Copy link
Member

lavrton commented Dec 17, 2022

Did you try anything? You pass the same way as props in other shapes. Directly via property or using :confg

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