Addon Details
Expansion
Categories
Developers
Having issues?
Library to facilitate some common tasks. Not necessarily designed to be infinitely flexible or applicable for any given situation.
local Libra = LibStub("Libra")
Libra:NewAddon(addonName, addonTable)
Table with module and event handling functions.
- addonName
- String identifying the addon object. should be the same as your addon folder name.
- addonTable
- An existing table to use as the addon object. If not provided, will create a new table.
local addon = Libra:NewAddon("MyAddon", {})
Libra:EmbedWidgets(target)
Embeds all widget creation functionality on the target table, allowing you to directly create widgets.
local MyAddon = Libra:NewAddon("MyAddon") Libra:EmbedWidgets(MyAddon) local dropdown = MyAddon:CreateDropdown("Menu")
Libra:CreateDropdown(type, parent)
Dropdown with a wrapper API around the FrameXML API, working around known taint issues and adding certain features such as scrollable and fully refreshable menus.
- type
- "Menu" for a standalone menu, "Frame" for a list frame which in turns summons the menu
- parent
- parent frame if "Frame" type
Libra:CreateEditbox()
Libra:CreateScrollFrame(type, parent, name)
- type
- "Faux" or "Hybrid"
- parent
- parent frame
- name
- frame name
Libra:CreateUIPanel(name)
ButtonFrameTemplate frame closable with escape and pushable by other frames.
- name
- Name to use for the frame. If not provided, will use an automatically generated name.
Better docs to be written.
More addons for Legion
Discover other addons that might interest you
QuestBuster
Provides frames for World Quests, plus more
BigWigs_BurningCrusade – The Burning Crusade content pack for BigWigs
A collection of BigWigs modules from the Burning Crusade era.
Target Nameplate Indicator
Puts a texture on your target's nameplate to make them stand out. Configure by editing…
GTA Wasted Death Sound
Plays the GTA “Wasted” death sound when your character dies.
Raid Check
Check your raidmembers for consumables.
ElvUI_ExtraDataTexts
Adds multiple datatexts to ElvUI
DBM – Warlords of Draenor (WoD) (Requires Deadly Boss Mods) – DBM
DBM modules for Warlords of Draenor content
Easy Frames
Make your unit frames colored and glorious.