LavaUI docs GitHub

enum TooltipPlacement

Swift

enum TooltipPlacement

Which side of its view a tooltip goes.

Sources/LavaUI/Tooltip.swift:44

Cases

case below

Under the view, centred on it; above when there is no room below.

Sources/LavaUI/Tooltip.swift:46

case above

Over the view, centred on it; below when there is no room above.

Sources/LavaUI/Tooltip.swift:48

case leading

To its left, level with it; to its right when there is no room.

Sources/LavaUI/Tooltip.swift:50

case trailing

To its right, level with it; to its left when there is no room.

Sources/LavaUI/Tooltip.swift:52