Query |
Response | |
This is JavaScript not TypeScript. I have seen this code elsewhere. |
We have modified the userhandles code to a typescript. Here is a code example.
| |
It doesn't work, at least not for me. When I select a node the user handles appear and when I click on it the alert message appears. But then wherever I click the alert message appears, I cannot deselect the node I just get the alert message. |
We have resolved an issue in below application. | |
When I try to insert this code into my TypeScript code it tells me that ej.datavisualization.Diagram.ToolBase does not exist. |
· In our diagram, we use resizeTool, moveTool internally which is derived from ToolBase class. We have not defined this class in ej.web.all.d.ts file.
· Similarly, if you need to render userhandles tool, you need to define ToolBase class separately in a file at application level.
· In the below sample, we have defined ToolBase class in toolbase.ts file. |