For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDTooltip

A tooltip component.

Synopsis

A tooltip component.

Syntax

New-UDTooltip [[-Id] <String>] [[-Placement] <String>] [-TooltipContent] <ScriptBlock> [-Content] <ScriptBlock> [[-Sx] <Hashtable>] [-Arrow] [-FollowCursor] [[-Type] <String>] [[-EnterDelay] <Int32>] [[-LeaveDelay] <Int32>] [[-Open] <Boolean>] [[-OnOpen] <Endpoint>] [[-OnClose] <Endpoint>] [-Persistent] [<CommonParameters>]

Description

A tooltip component. Tooltips can be placed over an other component to display a popup when the user hovers over the nested component.

Parameters

-Id

The ID of this component.

Required?                    false
Position?                    1
Default value                [Guid]::NewGuid()
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-Placement

-TooltipContent

Content to display within the tooltip.

-Content

Content that activates the tooltip when hovered.

-Sx

Theme-based styling hashtable.

-Type

The type of tooltip.

-EnterDelay

The delay before the tooltip appears in milliseconds.

-LeaveDelay

The delay before the tooltip disappears in milliseconds.

-Open

Whether the tooltip is open.

-OnOpen

An endpoint to call when the tooltip is opened.

-OnClose

An endpoint to call when the tooltip is closed.

Outputs

-------------------------- EXAMPLE 1 --------------------------

Last updated

Was this helpful?