I have a requirement to check if the user is active or inactive in UI5. So I need to call a function when there is some kind of user events. I have done it as follows. But is there a better way without listing the events as below?
**
jQuery(document).on("blur focus click dblclick mousedown mouseup mouseover mouseout etc", function(oEvent) {
//call some function
}
**