StartupScript Property
Version: Available or changed with runtime version 1.0.
Specifies the script which is invoked when web page with the control add-in is loaded.
Applies to
- Control Add In
Property Values
A path to a single script file. The default is blank, with no script being specified.
Remarks
This property is typically JavaScript representing the main body of the control add-in. The script is invoked when the page that hosts the control add-in has loaded and after other scripts referenced by the Scripts property have loaded. Although this property is optional, the control add-in must either specify the StartupScript property or specify one or more scripts. The script is embedded within the extension and must be added to the extension project folder in Visual Studio Code and referenced using a relative path.
Example
StartupScript = 'js/chart.js';
See Also
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de