API Reference
Command
New-HtmlXPage
Creates a Tabler page container and adds it to the current DSL context.
Remarks
Part of the HtmlForgeX.PowerShell DSL.
Examples
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
- Scriptblock that builds child elements under the page.
Outputs
HtmlForgeX.TablerPage