A library that provides a fluent interface to the GameTooltip API, making it easier to manage tooltip lines and customize their appearance.
Used By: WowInfo
local Tooltip = LibStub("TooltipBuilder-1.0")
- Build a single line tooltip.
Tooltip
:SetLine("Hello from TooltipBuilder")
:SetPlayerClassColor()
:ToLine()
- Build a double line tooltip.
Tooltip
:SetLine("Hello")
:SetWhiteColor()
:SetLine("TooltipBuilder")
:SetPlayerClassColor()
:ToLine()