dependencyFiles
Type: Array of JSON objects
Required: Yes
"dependencyFiles": [
{
"name": "Control.js",
"type": "JavaScript",
"description": ""
},
{
"name": "Style.css",
"type": "Stylesheet",
"description": "Theme independent style"
}
]
This property contains all files of the framework control that must be included in the HTML file of the HMI. By default, the Control.js and Style.css files are included. If additional JavaScript or stylesheet files are included in the control, they must be referenced under "dependencyFiles".
The array contains JSON objects that contain information about the file:
name
{string}: file name and file extension with the relative project path to the file.type
{string}: File type (JavaScript
orStylesheet
)description
{string}: Optional file description.
Theme-dependent stylesheet files are not included under "dependencyFiles", but under "themes". |
Even if the control is created via TypeScript, the compiled JavaScript file must be referenced here. |