New-NavFloatWidgetItem
Creates a new navigation float item with specified parameters.
Syntax
Description
This function creates a new navigation float item with the provided parameters. It allows customization of the item's name, link, icon, color, and other properties.
Examples
EXAMPLE 1
New-NavFloatWidgetItem -Name "Home" -Href "https://www.example.com" -IconBrands "fab fa-home" -IconColor "blue"Creates a new navigation float item named "Home" that links to "https://www.example.com" with a blue home icon.
EXAMPLE 2
New-NavFloatWidgetItem -Name "About" -InternalPageID "about" -LinkHomeCreates a new navigation float item named "About" that links to the internal page with ID "about" and links to the home page.
Parameters
- -Href String
- Specifies the URL link for the navigation float item.
- -IconColor String
- Specifies the color of the icon for the navigation float item.
- -IconSolid String
- ICON SOLID
- -InternalPageID String
- Specifies the internal page ID for the navigation float item.
- -LinkHome SwitchParameter
- Indicates whether the navigation float item should link to the home page.
- -Name String
- Specifies the name of the navigation float item.
- -Bordered SwitchParameter
- -BorderedCircle SwitchParameter
- -FlipHorizontal SwitchParameter
- -FlipVertical SwitchParameter
- -IconMaterial String
- FontsMaterialIcon
- -PullLeft SwitchParameter
- -PullRight SwitchParameter
- -Rotate String
- Possible values:
90,180,270 - -Spinning SwitchParameter
- -SpinningReverse SwitchParameter
- -IconRegular String
- Specifies the regular icon for the navigation float item. Valid values are: $($Global:HTMLIcons.FontAwesomeRegular.Keys).
- -IconBrands String
- Specifies the icon brand for the navigation float item. Valid values are: $($Global:HTMLIcons.FontAwesomeBrands.Keys).
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.