May 19, 2021 WeChat Mini Program Development Document
Base library 2.7.3 starts to support, and low versions need to be compatible.
The inter-page event communication channel
Base library 2.7.3 starts to support, and low versions need to be compatible.
Trigger an event
The name of the event
The event parameter
Base library 2.7.3 starts to support, and low versions need to be compatible.
Cancel listening for an event. When the second argument is given, only the given listen function is canceled, otherwise all listen functions are canceled
The name of the event
The event listening function
Trigger the event parameter
Base library 2.7.3 starts to support, and low versions need to be compatible.
Continuously listen for an event
The name of the event
The event listening function
Trigger the event parameter
Base library 2.7.3 starts to support, and low versions need to be compatible.
Listen for an event once and fail after triggering
The name of the event
The event listening function
Trigger the event parameter