→ WoW API
- This function is implemented by FrameXML in [ http://wowprogramming.com/utils/xmlbrowser/live/FrameXML/ContainerFrame.lua FrameXML/ContainerFrame.lua].
Opens or closes the specified bag.
- Number - the bagId you want to toggle open or close
- If toggling the backpack with the keyboard, this function is called when opening but NOT when closing. Closing appears to be done by ToggleBackpack(). However, if the mouse is used to close the Backpack then this function does respond.