Articles in this section
Category / Section

Where to find individual script files to render the JS control?

3 mins read

In order to reduce the page size or increase the performance, you may want to refer to the individual script files in your sample projects. This document explains in detail the Custom Script Generator utility for generating individual script files corresponding to any required version. 

The Custom Script Generator is a utility that combines multiple widgets into a single JS file. In the Custom Script Generator, when you download a script file for a particular control, all the dependency files for rendering that control is merged and a single script file is generated. So, it is enough to refer to this single file alone to render that particular control.

Refer to the following updated online documentation link for more information on the Essential JS Custom Script Generator.
Online Documentation Link: https://help.syncfusion.com/ug/js/index.html#!Documents/essentialjscustomscriptgenerator.htm

To refer to all the individual files in your project separately, the list of individual script files for rendering the JS controls are listed in the Requires session under each control in the following link.
Class Reference Link:

https://help.syncfusion.com/UG/JS_CR/ejProgressBar.html

For example, refer to the following screenshot for the dependency files for rendering the Progress Bar control.

progressbar

For those who have installed the Syncfusion’s latest Volume in your system, the individual script files can be found in the following location:
Script Location:

C:\Program Files (x86)\Syncfusion\EssentialStudio\XX.X.X.XX\JavaScript\assets\scripts\web

Here, XX.X.X.XX denotes the Product Version such for example, 13.1.0.21

 

Note:

When you refer to files from a local location, that is, from the above location in your system, then you may have to refer to all the dependent files individually in the sample project; whereas when you use the Custom Script Generator to get the script files for controls, then all the dependent files are merged in the single script file and thus it is enough to refer to that downloaded file alone in the project.

 


Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments
Please sign in to leave a comment
Access denied
Access denied