Run when the frame's visbility changes to hidden. This script handler runs whether the frame was directly hidden (via its :Hide() method) or implicitly hidden due to a parent frame being hidden.

Signature:

OnHide(self)

Arguments:

  • self - Reference to the widget for which the script was run (frame)