HtmlForgeX

API Reference

Command

New-HtmlXSection

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerSection

Creates a section container, optionally with a title.

Remarks

Part of the HtmlForgeX.PowerShell DSL.

Examples

Imported script example

New-HtmlXSection -Title "Toolbar" {
        

New-HtmlXSection -Title "Highlights" {
        

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-HtmlXSection [-Content <ScriptBlock>] [-Title <string>] [<CommonParameters>]
#

Parameters

Content ScriptBlock optionalposition: 0pipeline: false
Scriptblock that builds child elements within the section.
Title string optionalposition: namedpipeline: false
Section title rendered as a section header.

Outputs

HtmlForgeX.TablerSection