HtmlForgeX

API Reference

Command

New-HtmlXNavbar

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerNavbar

Creates a Tabler navbar container.

Remarks

Part of the HtmlForgeX.PowerShell DSL.

Examples

Imported script example

New-HtmlXNavbar -Brand "HtmlForgeX" -BrandUrl "#" -Sticky {
        

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-HtmlXNavbar [-Content <ScriptBlock>] [-Brand <string>] [-BrandUrl <string>] [-Dark] [-Expand <Always>] [-LogoUrl <string>] [-Sticky] [-Style <Default|Vertical>] [<CommonParameters>]
#

Parameters

Content ScriptBlock optionalposition: 0pipeline: false
Scriptblock that adds navigation items.
Brand string optionalposition: namedpipeline: false
Brand text.
BrandUrl string optionalposition: namedpipeline: false
Brand link URL.
Dark SwitchParameter optionalposition: namedpipeline: false
Render navbar in dark mode.
Expand TablerNavbarExpand optionalposition: namedpipeline: falsevalues: 6
Navbar expand breakpoint. Possible values: Always, Small, Medium, Large, ExtraLarge, Never
Possible values: Always, Small, Medium, Large, ExtraLarge, Never
LogoUrl string optionalposition: namedpipeline: false
Logo URL.
Sticky SwitchParameter optionalposition: namedpipeline: false
Make navbar sticky.
Style TablerNavbarStyle optionalposition: namedpipeline: falsevalues: 2
Navbar style preset. Possible values: Default, Vertical
Possible values: Default, Vertical

Outputs

HtmlForgeX.TablerNavbar