events
prop of nodes/edges to be deprecated
#1541
-
Beta Was this translation helpful? Give feedback.
Answered by
bcakmakoglu
Jul 15, 2024
Replies: 1 comment 2 replies
-
A follow up question on this. Can we not have a custom event like how we had before? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, in the next major version this object will not exist anymore.
Either those or you can bind events directly to
<VueFlow>
, for example<VueFlow @node-click="onNodeClick" />
Functions are not properly convertible into JSON, therefore any of the existing options that currently allow functions will be removed/replaced with something that is convertible to JSON.