use Event Subscribe
Register a subscriber. Note that this subscription function will be removed from the subscription list after the component is uninstalled.
Receiver
Parameters
subscriber
T
Register a subscriber. Note that this subscription function will be removed from the subscription list after the component is uninstalled.