Fandom

WoWWiki

API ExpandCurrencyList

104,757pages on
this wiki
Add New Page
Talk0 Share
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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.