TopicTransformationCore.RegisterStartupScriptItem Method
Definition
- Assembly
- Sandcastle.Core.dll
This is used to register a shared content item ID that contains a block of script with localized
text. These will be added to a script element at the end of the document body by presentation
styles that support script.
public void RegisterStartupScriptItem(int priority, string scriptBlockItemId)
Parameters
priorityintThe priority of the script. Lower numbers will have higher priority
scriptBlockItemIdstringThe item ID that contains the script block to execute
Remarks
Only unique script block IDs are registered. Any subsequent calls to this method with an identical script block ID will ignore the duplicates.