API Reference
Command
New-HtmlXSidebar
Creates a Tabler sidebar container.
Remarks
Part of the HtmlForgeX.PowerShell DSL.
Examples
New-HtmlXSidebar -Brand "Operations" -BrandUrl "#" -Style Light {
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-HtmlXSidebar [-Content <ScriptBlock>] [-Brand <string>] [-BrandUrl <string>] [-Collapsible <bool>] [-LogoUrl <string>] [-ShowToggle <bool>] [-Sticky] [-Style <Default|Dark|Light|Transparent>] [<CommonParameters>]#Parameters
- Content ScriptBlock
- Scriptblock that adds sidebar items.
- Brand string
- Brand text.
- BrandUrl string
- Brand URL.
- Collapsible bool
- Enable collapsible behavior.
- LogoUrl string
- Logo URL.
- ShowToggle bool
- Show mobile toggle button.
- Sticky SwitchParameter
- Make sidebar sticky.
- Style TablerSidebarStyle
- Sidebar style preset. Possible values: Default, Dark, Light, Transparent
- Possible values:
Default,Dark,Light,Transparent
Outputs
HtmlForgeX.TablerSidebar