title: Taro.offAppShow(callback)
sidebar_label: offAppShow
Un-listens on the event that Mini Program is switched to foreground.
Type
(callback: (res: CallbackResult) => void) => void
Parameters
Property | Type | Description |
---|---|---|
callback | (res: CallbackResult) => void |
The callback function for the event that Mini Program is switched to foreground. |
API Support
API | WeChat Mini-Program | H5 | React Native |
---|---|---|---|
Taro.offAppShow | ✔️ |