How to implement Right click event for Palette object present inside floorplanner app.
I need to implement Right click event for furniture objects present inside floorplanner App.
How can i achieve it .
Thanks.
How to implement Right click event for Palette object present inside floorplanner app.
I need to implement Right click event for furniture objects present inside floorplanner App.
How can i achieve it .
Modify the template(s) in the Palette to include a contextClick event handler.
For the common case where you want to show a context menu, you could instead do the simpler task of providing a context menu (either an Adornment or an HTMLInfo) by setting the node’s contextMenu property.
https://gojs.net/latest/intro/events.html#HigherLevelInputEvents
https://gojs.net/latest/intro/contextmenus.html