API Reference
Command
New-HtmlXSidebarDropdownItem
Creates a sidebar dropdown link item.
Remarks
Use inside New-HtmlXSidebarDropdown { }.
Examples
New-HtmlXSidebarDropdownItem -Text "Daily" -Href "#daily"
New-HtmlXSidebarDropdownItem -Text "Monthly" -Href "#monthly" -Badge "Updated"
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-HtmlXSidebarDropdownItem [-Active] [-Badge <string>] [-Disabled] [-Href <string>] [-Text <string>] [<CommonParameters>]#Parameters
- Active SwitchParameter
- Mark item as active.
- Badge string
- Optional badge text.
- Disabled SwitchParameter
- Mark item as disabled.
- Href string
- Link URL.
- Text string
- Link text.
Outputs
HtmlForgeX.TablerSidebarLink