add Ui Event Listener
Add a UI event listener.
Parameters
event
The event to listen for.
listener
The function that receives a callback when the specified event occurs.
Add a UI event listener.
The event to listen for.
The function that receives a callback when the specified event occurs.