WoW API: CloseAllBags


WoW API < CloseAllBags

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

Closes all open bags.

CloseAllBags()

ArgumentsEdit

None


ReturnsEdit

nil


DetailsEdit

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();