UpdateCharge - SFX-WoW/Masque GitHub Wiki
The UpdateCharge
method of Masque's API tells Masque to reapply skin settings to a charge cooldown.
-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)
-- Update the charge cooldown.
Masque:UpdateCharge(Button)
{Masque}:UpdateCharge({Button})
Parameter | Type | Required | Description |
---|---|---|---|
Button |
table | Yes | The button object whose charge cooldown needs to be updated. |