Click or drag to resize

IPageTemplateAddFrameworkScriptRef Method

Add a javascript file reference that depends on framework script (e.g. jQuery or Bootstrap).

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
bool AddFrameworkScriptRef(
	string name,
	string src,
	string dependencies = null
)

Parameters

name
Type: SystemString
The name of the script.
src
Type: SystemString
The script file reference (the script element's src value).
dependencies (Optional)
Type: SystemString
Script dependencies, currently ignored.

Return Value

Type: Boolean
Returns true if the reference was added, else false.
See Also