WoW API: CloseAllBags

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API CloseAllBags to API CloseAllBags without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


WoW API < CloseAllBags

"I" iconThis function is implemented in Lua here FrameXML/ContainerFrame.lua.

Closes all open bags.

CloseAllBags()

Arguments

None


Returns

nil


Details

I use this in a simple macro that quickly closes all bags. This is useful when leaving the bank, a vendor, or closing the mail gossip window. (Same functionality as Shift+B)

/script CloseAllBags();