# wx.onAppHide(function callback)

Start from base library version 2.1.2. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Not supported

Listen to the Mini Program cut background events. This event is related to App.onHide The timing of the pullback was consistent.

# parameter

# function callback

Callback Function for Background Events