Tooltip

Tooltip component for PowerShell Universal.

Tooltips display informative text when users hover over an element.

Basic Tooltip

New-UDTooltip -Content {
    New-UDIcon -Icon 'User'
} -TooltipContent {
    "User"
}

Placement

Place the tooltip on top, bottom, left or right.

New-UDTooltip -Content {
    New-UDIcon -Icon 'User'
} -TooltipContent {
    "User"
} -Place 'bottom'

Custom Content

Tooltip content can contain any UD element.

New-UDTooltip -Content {
    New-UDIcon -Icon 'User'
} -TooltipContent {
    New-UDPaper -Children {
        "User"
    }
}

Tooltip Type

Tooltips can be over various types including: "dark", "success", "warning", "error", "info", "light"

New-UDTooltip -Content {
    New-UDIcon -Icon 'User'
} -TooltipContent {
    "User"
} -Type 'success'

Last updated

Copyright 2024 Ironman Software