We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Hover , MVC

Is it possible to have an hover effect, similar to button on the figures or nodes(BasicShape, FlowShape, BPMNNode) in MVC Extension ?

1 Reply

SG Shyam G Syncfusion Team May 29, 2015 10:26 AM UTC

Hi Scary

Thanks for using Syncfusion products.

We suggest you to use “MouseHover” event to achieve your requirement. We have created the sample from the MVC extension and achieved your requirement in that sample. Please refer the code snippet and sample below.


DiagramProperties model = new DiagramProperties();

model.MouseHover = "mousehover";

   function mousehover(args) {

          var diagram = $("#Diagram1").ejDiagram("instance");

           if (args.element.type == "node") {            

           diagram.updateNode(args.element.name, { fillColor: "red" });



Please let me know if any concerns.

Shyam G

Live Chat Icon For mobile
Up arrow icon