API:AccountBagFrame OnEvent

Called on every event of AccountBagFrame. This function has 2 roles: updating the AccountBagFrame or hiding it.

Arguments

 * this
 * String - uses self frame name, "AccountBagFrame"
 * event
 * String - One of these two events: "ACCOUNTBAG_UPDATE" and "ACCOUNTBAG_CLOSE"

Returns

 * nil

Example
AccountBagFrame_OnEvent("AccountBagFrame", "ACCOUNTBAG_UPDATE")

Related Functions

 * AccountBagFrame_OnLoad
 * AccountBagFrame_OnShow
 * AccountBagFrame_Update