TooltipParameters

data class TooltipParameters(val text: String, val singleLine: Boolean = false, val placement: TooltipPlacement = TooltipPlacement.Top, val alignment: TooltipAlignment = TooltipAlignment.Center)

Parameters for the tooltip component.

Parameters

text

Text to display in the tooltip.

singleLine

Either the text in the tooltip should be displayed in a single line or not. Note that the tooltip width is limited to a maximum width depending on this parameter and the text might be truncated if it exceeds the maximum width.

placement

Placement of the tooltip relative to the UI trigger. Defaults to TooltipPlacement.Top.

alignment

Alignment of the tooltip relative to the UI trigger. Defaults to TooltipAlignment.Center.

Constructors

Link copied to clipboard
constructor(text: String, singleLine: Boolean = false, placement: TooltipPlacement = TooltipPlacement.Top, alignment: TooltipAlignment = TooltipAlignment.Center)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val singleLine: Boolean = false
Link copied to clipboard