Skip to main content
Version: Next

Taro.offPageNotFound(callback)

Un-listens on the event that a page to be opened by the Mini Program does not exist.

Reference

Type

(callback: (res: CallbackResult) => void) => void

Parameters

ParameterTypeDescription
callback(res: CallbackResult) => voidThe callback function for the event that a page to be opened by the Mini Program does not exist.

API Support

APIWeChat Mini-ProgramH5React Native
Taro.offPageNotFound✔️