Hi Borislav ,
Thank you for contacting Syncfusion support.
Follow the instruction below to enable IntelliSense for create JavaScript functions that relay on EJ2
- Add the ej2.d.ts definition files to your project.
You can obtain ej2.d.ts file from the following sources:
- Execute the command below in the npm CLI to install the package.
npm i @syncfusion/ej2-js-es5
- Add the following string to each script file or script block where you are going to use IntelliSense:
///<reference path="ej2.d.ts"
- <script type="text/javascript">
- /// <reference path="../../ej2.d.ts"/>
- var ajax = new ej.base.Ajax("index.html", "GET", true);
- </script>
|
you can now use IntelliSense
Please let me know, if you have any concerns.
Regards,
Mydeen S N