Taro.offNetworkStatusChange(callback)
Un-listens on the network status change event.
Type
(callback: (...args: any[]) => any) => void
Parameters
Property | Type | Description |
---|---|---|
callback | (...args: any[]) => any | The callback function for the network status change event. |
API Support
API | WeChat Mini-Program | H5 | React Native |
---|---|---|---|
Taro.offNetworkStatusChange | ✔️ | ✔️ |