API Reference
Function
New-HTMLFontIcon
Creates an HTML font icon with specified parameters.
Remarks
This function generates an HTML font icon based on the provided parameters such as icon size, color, and specific icon set (e.g., FontAwesomeBrands, FontAwesomeRegular, FontAwesomeSolid, FontMaterial).
Examples
EXAMPLE 1
New-HTMLFontIcon -IconSize 24 -IconColor "red" -IconBrands "fa-github"
Generates an HTML font icon with a size of 24, red color, and the GitHub icon from the FontAwesomeBrands set.
EXAMPLE 2
New-HTMLFontIcon -IconSize 32 -IconColor "blue" -IconRegular "fa-envelope"
Generates an HTML font icon with a size of 32, blue color, and the envelope icon from the FontAwesomeRegular set.
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-HTMLFontIcon [-AsCSS] [-AsHashTable] [-FixedWidth] [-IconColor <String>] [-IconSize <Int32>] [-IconSolid <String>] [-Name <String>] [<CommonParameters>]
#
Parameter set:
FontAwesomeSolidParameters
- AsCSS SwitchParameter
- AsHashTable SwitchParameter
- FixedWidth SwitchParameter
- IconColor String
- Specifies the color of the icon.
- IconSize Int32
- Specifies the size of the icon.
- IconSolid String
- Specifies the icon from the FontAwesomeSolid set.
- Name String
New-HTMLFontIcon [-AsCSS] [-AsHashTable] [-Bordered] [-BorderedCircle] [-FixedWidth] [-FlipHorizontal] [-FlipVertical] [-IconColor <String>] [-IconMaterial <String>] [-IconSize <Int32>] [-ListIcons] [-Name <String>] [-PullLeft] [-PullRight] [-Rotate <90|180|270>] [-Spinning] [-SpinningReverse] [<CommonParameters>]
#
Parameter set:
FontMaterialParameters
- AsCSS SwitchParameter
- AsHashTable SwitchParameter
- Bordered SwitchParameter
- BorderedCircle SwitchParameter
- FixedWidth SwitchParameter
- FlipHorizontal SwitchParameter
- FlipVertical SwitchParameter
- IconColor String
- Specifies the color of the icon.
- IconMaterial String
- FontsMaterialIcon
- IconSize Int32
- Specifies the size of the icon.
- ListIcons SwitchParameter
- for using within UL/LI http://zavoloklom.github.io/material-design-iconic-font/examples.html
- Name String
- PullLeft SwitchParameter
- PullRight SwitchParameter
- Rotate String
- [parameter(ParameterSetName = "FontMaterial")][switch] $Wobble, [parameter(ParameterSetName = "FontMaterial")][switch] $FadeInLeft, [parameter(ParameterSetName = "FontMaterial")][switch] $Pulse,
- Possible values:
90,180,270 - Spinning SwitchParameter
- SpinningReverse SwitchParameter
New-HTMLFontIcon [-AsCSS] [-AsHashTable] [-FixedWidth] [-IconColor <String>] [-IconRegular <String>] [-IconSize <Int32>] [-Name <String>] [<CommonParameters>]
#
Parameter set:
FontAwesomeRegularParameters
- AsCSS SwitchParameter
- AsHashTable SwitchParameter
- FixedWidth SwitchParameter
- IconColor String
- Specifies the color of the icon.
- IconRegular String
- Specifies the icon from the FontAwesomeRegular set.
- IconSize Int32
- Specifies the size of the icon.
- Name String
New-HTMLFontIcon [-AsCSS] [-AsHashTable] [-FixedWidth] [-IconBrands <String>] [-IconColor <String>] [-IconSize <Int32>] [-Name <String>] [<CommonParameters>]
#
Parameter set:
FontAwesomeBrandsParameters
- AsCSS SwitchParameter
- AsHashTable SwitchParameter
- FixedWidth SwitchParameter
- IconBrands String
- Specifies the icon from the FontAwesomeBrands set.
- IconColor String
- Specifies the color of the icon.
- IconSize Int32
- Specifies the size of the icon.
- Name String