Events
The KendoReact Sankey diagram emits several events that you can handle. This allows you to tailor the Sankey's behavior to your specific requirements.
onNodeEnter
—The event fires when the user enters a node.onNodeLeave
—The event fires when the user leaves a node.onLinkEnter
—The event fires when the user enters a link.onLinkLeave
—The event fires when the user leaves a link.onNodeClick
—The event fires when the user clicks a node.onLinkClick
—The event fires when the user clicks a link.
The following example demonstrates the above events. Test them by entering and leaving the nodes and links with your mouse or with a touch screen input.