ToggleFriendsFrame()

From Warcraft Wiki
Jump to navigation Jump to search
This function is implemented in FrameXML/FriendsFrame.lua.

Opens/closes the friends pane.

ToggleFriendsFrame([tabIndex])

Arguments

tabIndex
number (optional) - picks a specific tab in the friends frame. If the friends frame was already open, this closes the frame.
  • 1 = friends tab
  • 2 = who tab
  • 3 = guild tab
  • 4 = raid tab
  • default = last open tab