API Reference
Command
New-HtmlXCardHeader
Adds a header section to the current Tabler card.
Remarks
Use inside New-HtmlXCard { }.
Examples
New-HtmlXCardHeader -Title "Health Check" -Subtitle "Last 24h"
New-HtmlXCardHeader -Title "Summary" -Subtitle "Today"
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-HtmlXCardHeader [-Content <ScriptBlock>] [-Style <Default|Light|Dark|Transparent|Borderless>] [-Subtitle <string>] [-SubtitleStyle <Muted|Truncate|Monospace|Primary|Success>] [-Title <string>] [<CommonParameters>]#Parameters
- Content ScriptBlock
- Scriptblock that emits header content.
- Style TablerCardHeaderStyle
- Header style preset. Possible values: Default, Light, Dark, Transparent, Borderless
- Possible values:
Default,Light,Dark,Transparent,Borderless - Subtitle string
- Header subtitle text.
- SubtitleStyle TablerTextStyle
- Subtitle text style. Possible values: Muted, Truncate, Monospace, Primary, Success
- Possible values:
Muted,Truncate,Monospace,Primary,Success - Title string
- Header title text.
Outputs
HtmlForgeX.TablerCardHeader