HtmlForgeX

API Reference

Command

New-HtmlXTab

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerTabsPanel

Adds a tab panel to the current tabs container.

Remarks

Use inside New-HtmlXTabs { }.

Examples

Imported script example

New-HtmlXTab -Title "Overview" -Active {
        

New-HtmlXTab -Title "Details" {
        

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

Parameters

Content ScriptBlock optionalposition: 0pipeline: false
Scriptblock that emits tab content.
Active SwitchParameter optionalposition: namedpipeline: false
Marks the tab as active on initial render.
Disabled SwitchParameter optionalposition: namedpipeline: false
Marks the tab as disabled.
Title string optionalposition: namedpipeline: false
Tab title shown in the navigation.

Outputs

HtmlForgeX.TablerTabsPanel