# wx.onHide(function callback)

Listens on the event that the Mini Game is switched to the background. This event is triggered by such operations as locking the screen, tapping the Home button to return to the home screen, and displaying the Mini Game at the top of "Chats" screen.

# Parameters

# function callback

The callback function for the event that the Mini Game is switched to the background.