Skip to content
sfmict edited this page Mar 8, 2024 · 12 revisions

LibSFDropDown

It is a small WoW addon library for dropdown menus.

Usage

local lsfdd = LibStub("LibSFDropDown-1.5")
-- Create a DropDown Button
local button = lsfdd:CreateButton(parent, width)
-- or Create a Stretch DropDown Button
local button = lsfdd:CreateStretchButton(parent, width, height, wrap)
-- or Create a frame and set an API for it
local frame = CreateFrame("FRAME")
lsfdd:SetMixin(frame)
-- or Create a table and set an API for it
local menu = lsfdd:SetMixin({})

Links

Clone this wiki locally