Links |
---|

Cooldown animation
Shows a cooldown animation on a cooldown frame starting from the moment the function is called.
obj:SetCooldownDuration(duration[, modRate])
Arguments
- duration
- Number - Cooldown duration in seconds. Zero if no cooldown.
- modRate
- Number - The rate at which the animation should be updated.
Details
- Calling this method will automatically show/hide the Cooldown widget. The widget, unless the animation is reversed, will also hide itself automatically when the animation completes.