Skip to content

A library that provides a fluent interface to the GameTooltip API, making it easier to manage tooltip lines and customize their appearance.

License

Notifications You must be signed in to change notification settings

Eyal-WowHub/TooltipBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

TooltipBuilder

A library that provides a fluent interface to the GameTooltip API, making it easier to manage tooltip lines and customize their appearance.

Dependencies: LibStub, Contracts

Used By: WowInfo

Examples:

local Tooltip = LibStub("TooltipBuilder-1.0")
  1. Build a single line tooltip.
Tooltip
    :SetLine("Hello from TooltipBuilder")
    :SetPlayerClassColor()
    :ToLine()
  1. Build a double line tooltip.
Tooltip
    :SetLine("Hello")
    :SetWhiteColor()
    :SetLine("TooltipBuilder")
    :SetPlayerClassColor()
    :ToLine()

About

A library that provides a fluent interface to the GameTooltip API, making it easier to manage tooltip lines and customize their appearance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages