API Reference
Command
New-HtmlXScrollSpySection
Adds a section to the current ScrollSpy container.
Remarks
Use inside New-HtmlXScrollSpy { }.
Examples
New-HtmlXScrollSpySection -Title "Introduction" {
New-HtmlXScrollSpySection -Title "Summary" -Id "summary" {
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HtmlXScrollSpySection [-Content <ScriptBlock>] [-Id <string>] [-Title <string>] [<CommonParameters>]#Parameters
- Content ScriptBlock
- Scriptblock that emits section content.
- Id string
- Explicit section id.
- Title string
- Section title.
Outputs
HtmlForgeX.ElementContainer