Added the arguments to the call.
No edit summary |
(Added the arguments to the call.) |
||
| Line 1: | Line 1: | ||
<center>'''ToggleFriendsFrame''' ''-Documentation by AlexanderYoshi-''</center> | <center>'''ToggleFriendsFrame''' ''-Documentation by AlexanderYoshi, updated by Suru-''</center> | ||
Opens/closes the friends pane. | Opens/closes the friends pane. | ||
ToggleFriendsFrame(); | ToggleFriendsFrame(tabIndex); | ||
---- | ---- | ||
;''Arguments'' | ;''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 | |||
---- | ---- | ||
| Line 17: | Line 22: | ||
---- | ---- | ||
;''Example'' | ;''Example'' | ||
ToggleFriendsFrame(); | ToggleFriendsFrame(3); | ||
;''Result'' | ;''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. | |||
---- | ---- | ||