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
In the star example you have 2 methods in the source code that seems to not be used handleDragstart and handleDragend.
handleDragstart
handleDragend
I tried to fix it by using the dragstart and dragend events but I get an error at ngComponent.config.next
dragstart
dragend
ngComponent.config.next
Do you have any idea how to fix it and make it work like in the Konva docs - Elastic_Stars ?
The text was updated successfully, but these errors were encountered:
It works for me, but the scaling and easing don't seem to be working.
Sorry, something went wrong.
just add ...ngComponent.getConfig(), in
...ngComponent.getConfig(),
ngComponent.config.next({ shadowOffsetX: 15, shadowOffsetY: 15, scaleX: ngComponent.getConfig().startScale * 1.2, scaleY: ngComponent.getConfig().startScale * 1.2, });
like this
ngComponent.config.next({ ...ngComponent.getConfig(), shadowOffsetX: 15, shadowOffsetY: 15, scaleX: ngComponent.getConfig().startScale * 1.2, scaleY: ngComponent.getConfig().startScale * 1.2, });
No branches or pull requests
In the star example you have 2 methods in the source code that seems to not be used
handleDragstart
andhandleDragend
.I tried to fix it by using the
dragstart
anddragend
events but I get an error atngComponent.config.next
Do you have any idea how to fix it and make it work like in the Konva docs - Elastic_Stars ?
The text was updated successfully, but these errors were encountered: