New-UDSpeedDial
Synopsis
When pressed, a floating action button can display three to six related actions in the form of a Speed Dial.
Syntax
New-UDSpeedDial [[-Id] <String>] [[-Children] <ScriptBlock>] [[-Direction] <String>] [[-Icon] <Hashtable>] [[-OnClose] <Endpoint>] [[-OnOpen] <Endpoint>] [[-OnActionClick] <Endpoint>] [<CommonParameters>]Description
When pressed, a floating action button can display three to six related actions in the form of a Speed Dial.
Parameters
-Id
The ID of this component. It defaults to a random GUID.
Required? false
Position? 1
Default value ([Guid]::NewGuid().ToString())
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Children
Actions for this speed dial. Use New-UDSpeedDialAction to create actions.
-Direction
The direction the speed dial opens. Valid values are up, down, left, and right.
-Icon
The icon for the speed dial. Use New-UDIcon to create an Icon.
-OnClose
A scriptblock to call when the speed dial closes.
-OnOpen
A scriptblock to call when the speed dial opens.
-OnActionClick
A scriptblock to call when an action is clicked.
Common parameters
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
Outputs
Examples
Example 1: Basic Speed Dial
Creates a basic speed dial.
Example 2: OnClick
Creates a speed dial with an OnClick action.
Last updated
Was this helpful?