Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Expands/collapses a quest log header.
ExpandQuestHeader(index [, isAuto]) CollapseQuestHeader(index [, isAuto])
Arguments[]
- index
- number - Position in the quest log from 1 at the top, including collapsed and invisible content.
- isAuto
- boolean - Used when resetting the quest log to a default state.
Details[]
- Applies to all headers when the index does not point to a header, inluding out-of-range values like 0.
- Fires QUEST_LOG_UPDATE. Toggle
QuestMapFrame.ignoreQuestLogUpdate
to supress the normal event handler.
Example[]
Expand all quest headers:
ExpandQuestHeader(0)
Collapse the first quest header (always at position 1) while suppressing the normal event handler:
QuestMapFrame.ignoreQuestLogUpdate = true
CollapseQuestHeader(1)
QuestMapFrame.ignoreQuestLogUpdate = nil
Patch changes[]
Patch 7.0.3 (2016-07-19): Added isAuto optional argument.[1]
See also[]
- QuestMapFrame_ResetFilters() - FrameXML function to restore the default expanded/collapsed state. {, }
References[]
- ^ 2016-07-19, QuestMapFrame.lua, version 7.0.3.22267, near line 212, archived at Townlong-Yak