Menu
New-UDMenu component for Universal Dashboard.
Last updated
New-UDMenu component for Universal Dashboard.
Last updated
Copyright 2024 Ironman Software
Available in PowerShell Universal 2.5 or later.
The menu component can be used to provide a drop down list of options for the user to select.
Create a basic menu.
You can edit the style of the menu by adjusting the variant parameter.
You can use the value parameter to define a value that differs from the text displayed.
Use the -OnChange
parameter to specify a script block to call when a new value is selected. The value of the selected item will be available in $EventData
.