UpdateCharge - SFX-WoW/Masque GitHub Wiki

Contents

The UpdateCharge method of Masque's API tells Masque to reapply skin settings to a charge cooldown.

Example

-- Establish a reference to Masque.
local Masque = LibStub("Masque", true)

-- Update the charge cooldown.
Masque:UpdateCharge(Button)

Signature

{Masque}:UpdateCharge({Button})

Parameters

Parameter Type Required Description
Button table Yes The button object whose charge cooldown needs to be updated.
⚠️ **GitHub.com Fallback** ⚠️