Table of Contents

TopicTransformationCore.RegisterStartupScriptItem Method

Definition

Namespace
Sandcastle.Core.PresentationStyle.Transformation
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

priority int

The priority of the script. Lower numbers will have higher priority

scriptBlockItemId string

The 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.