title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
RecreateScript Property |
Specifies the script which is invoked when the control add-in is recreated. |
solsen |
05/14/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
Version: Available or changed with runtime version 1.0.
Specifies the script which is invoked when the control add-in is recreated.
- Control Add In
A path to a single script file. The default is blank.
After the hosting page has been loaded and the control add-in has been initialized, the page may need to recreate the control add-in during specific situations, such as if the user has moved the add-in during personalization.
You can use this property to optimize re-initialization of the control add-in when it has already been initialized earlier. For example, this could be used to redraw some of the visuals without the need for expensive fetching of data.
This property is optional. If left blank, the script defined by StartupScript will be invoked when the control add-in is recreated.
RecreateScript = 'js/chartCached.js';