API Reference
Command
New-HtmlXInputGroup
Creates an input-group container with optional addons and a central control.
Remarks
Use New-HtmlXInputGroupTextAddon, New-HtmlXInputGroupIconAddon, and input-group control cmdlets inside the scriptblock.
Examples
Example 1: Input group with prefix text and a right-side button.
New-HtmlXInputGroup -Label "Username" {
New-HtmlXInputGroupTextAddon -Text "@"
New-HtmlXInputGroupInput -Name "username" -Placeholder "john.doe"
New-HtmlXInputGroupButtonAddon -Text "Check" -Right -Variant Secondary
}
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-HtmlXInputGroup [-Content <ScriptBlock>] [-Label <string>] [-Size <Default|Small|Large>] [<CommonParameters>]#Parameters
- Content ScriptBlock
- Scriptblock that adds addons and the central control.
- Label string
- Optional label displayed above the input group.
- Size InputGroupSize
- Optional input-group size preset. Possible values: Default, Small, Large
- Possible values:
Default,Small,Large
Outputs
HtmlForgeX.TablerInputGroup