• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
Essential JS 2
All Controls

Example for Events in ASP.NET Core Diagram Control

This sample visualize what are the client side events are available in the diagram.

Client-side events
Event Trace

Diagram events are the actions that can be detected by JavaScript and the event argument are the information about the event that has occurred. Some time we want to execute some JavaScript when and event occurs, such as when the user clicks on the node. We can achieve this scenario using click event of the diagram. So, in this shows how to hook all the diagram events and how to handle its arguments.