Interface ClientFileLoader
- All Superinterfaces:
- ClientService,- Serializable
The ClientFileLoader service allows loading additional JavaScript and CSS files at runtime.
- Since:
- 3.1
- 
Method SummaryModifier and TypeMethodDescriptionvoidrequireCss(String url) Instructs the client to immediately load and include CSS file from the given URL.voidInstructs the client to immediately load and execute a JavaScript file from the given URL.
- 
Method Details- 
requireJsInstructs the client to immediately load and execute a JavaScript file from the given URL. If the file has already been loaded by the client, it won't be loaded again.Files can be registered with the ResourceManager.- Parameters:
- url- the URL from which to load the JavaScript file
 
- 
requireCssInstructs the client to immediately load and include CSS file from the given URL. If the file has already been loaded by the client, it won't be loaded again.Files can be registered with the ResourceManager.- Parameters:
- url- the URL from which to load the CSS file
 
 
-