ESODecoded

EVENT_GLOBAL_MOUSE_UP

ESO Lua API function — used by 234 of the 3,030 addons we indexed (combined 31,945,350 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

EVENT_GLOBAL_MOUSE_UP([MouseButtonIndex|#MouseButtonIndex] button, bool ctrl, bool alt, bool shift, bool command)

Real usage — from LibAddonMenu-2.0


    EVENT_MANAGER:RegisterForEvent(name .. "_OnGlobalMouseUp", EVENT_GLOBAL_MOUSE_UP, function()
        if self.refCount ~= nil then

Short excerpt from the shipping addon LibAddonMenu-2.0its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
LibAddonMenu-2.06,183,657
LibCustomMenu5,241,911
AwesomeGuildStore4,722,462
Essential Housing Tools1,862,490
Provision's TeamFormation : Teammate Radar1,506,270
Dolgubon's Lazy Set Crafter1,172,957