HtmlForgeX

API Reference

Command

New-HtmlXScrollSpySection

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.ElementContainer

Adds a section to the current ScrollSpy container.

Remarks

Use inside New-HtmlXScrollSpy { }.

Examples

Imported script example

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 optionalposition: 0pipeline: false
Scriptblock that emits section content.
Id string optionalposition: namedpipeline: false
Explicit section id.
Title string optionalposition: namedpipeline: false
Section title.

Outputs

HtmlForgeX.ElementContainer