HtmlForgeX

API Reference

Command

New-HtmlXPage

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerPage

Creates a Tabler page container and adds it to the current DSL context.

Remarks

Part of the HtmlForgeX.PowerShell DSL.

Examples

Authored help example

Example 1: Create a page with a single section.


New-HtmlX {
    New-HtmlXPage {
        New-HtmlXSection -Title "Overview" {
            New-HtmlXText -Text "Hello"
        }
    }
}
        

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-HtmlXPage [-Content <ScriptBlock>] [<CommonParameters>]
#

Parameters

Content ScriptBlock optionalposition: 0pipeline: false
Scriptblock that builds child elements under the page.

Outputs

HtmlForgeX.TablerPage