New-HTMLSummaryItem
Creates a new HTML summary item with specified parameters.
Syntax
New-HTMLSummaryItem
[-IconColor <String>]
[-IconSize <Int32>]
[-IconSolid <String>]
[[-NestedItems] <ScriptBlock>]
[-Open]
[-Text <String>]
[<CommonParameters>]#FontAwesomeSolidNew-HTMLSummaryItem
[-IconColor <String>]
[-IconRegular <String>]
[-IconSize <Int32>]
[[-NestedItems] <ScriptBlock>]
[-Open]
[-Text <String>]
[<CommonParameters>]#FontAwesomeRegularNew-HTMLSummaryItem
[-IconBrands <String>]
[-IconColor <String>]
[-IconSize <Int32>]
[[-NestedItems] <ScriptBlock>]
[-Open]
[-Text <String>]
[<CommonParameters>]#FontAwesomeBrandsDescription
This function creates a new HTML summary item with customizable text, icons, and other visual properties.
Examples
Example 1
New-HTMLSummaryItem -Text "Summary Item 1" -IconBrands "fa-windows" -IconSize 2 -IconColor "blue" -OpenCreates a new HTML summary item with the text "Summary Item 1", using the Windows icon brand, a size of 2, blue color, and initially open.
Example 2
New-HTMLSummaryItem -Text "Summary Item 2" -IconRegular "fa-address-book" -IconSize 3 -IconColor "green"Creates a new HTML summary item with the text "Summary Item 2", using the address book regular icon, a size of 3, and green color.
Parameters
- -IconColor String
- Specifies the color of the icon in the summary item.
- -IconSize Int32
- Specifies the size of the icon in the summary item.
- -IconSolid String
- ICON SOLID
- -NestedItems ScriptBlock
- Specifies the nested items to include within the summary item.
- -Open SwitchParameter
- Indicates whether the summary item should be initially open or closed.
- -Text String
- Specifies the text content of the summary item.
- -IconRegular String
- Specifies the regular icon to use for the summary item. Valid values are retrieved from the available FontAwesome regular icons.
- -IconBrands String
- Specifies the icon brand to use for the summary item. Valid values are retrieved from the available FontAwesome brands.
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.