WoW:API ExpandCurrencyList: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with '{{wowapi}} Alters the expanded state of a currency list header. ExpandCurrencyList(id, expanded) == Arguments == ; id : Number - Index of the header in the currency list to exp…')
 
m (Move page script moved page API ExpandCurrencyList to API ExpandCurrencyList without leaving a redirect)
 
(No difference)

Latest revision as of 04:45, 15 August 2023

WoW API < ExpandCurrencyList

Alters the expanded state of a currency list header.

ExpandCurrencyList(id, expanded)

Arguments[edit]

id
Number - Index of the header in the currency list to expand/collapse.
expanded
Number - 0 to set to collapsed state; 1 to set to expanded state.

Notes[edit]

  • This function affects the isExpanded return value of the GetCurrencyListInfo API function, but has no immediate impact on the currency UI (which caches the expanded state when it is shown).
  • Currencies under collapsed headers are still available to GetCurrencyListInfo, so this is a purely visual switch.