How do you pass data to an event handler while dispatching an event?
Use the property called “data” in event Object
Use the property called “payload” in event Object
Create a Custom Event and have your own public variable to hold the data to be passed to the handler
No way to do that.