Suru55507@legacy41574701 (talk | contribs) (Added the arguments to the call.) |
Inglais@legacy41546699 (talk | contribs) mNo edit summary |
||
Line 34: | Line 34: | ||
---- |
---- |
||
{{Template:WoW API}} |
{{Template:WoW API}} |
||
+ | [[Category:API Functions|ToggleFriendsFrame]] |
||
+ | [[Category:API Toggle Functions|ToggleFriendsFrame]] |
Revision as of 19:12, 27 August 2005
Opens/closes the friends pane.
ToggleFriendsFrame(tabIndex);
- Arguments
- tabIndex optional - picks a specific tab in the friends frame
- 1 = friends tab
- 2 = who tab
- 3 = guild tab
- 4 = raid tab
- default = last open tab
- Returns
- nil
- Example
ToggleFriendsFrame(3);
- Result
- If the friends frame was already open, this closes the frame.
- If it was not already open, it is opened at the guild tab.
- Description
- Opens/closes the friends pane.
Template:WoW API