Reputation: 494
I have an application with multiple windows as customers, products and so on. For each window I have several components as gridpanel, combo, button and so on. My application has a timeout of 15 minutes, this way, if the user is inactive for 15 minutes, the application is closed.
So how could I do to get all click events of all objects that interact with the user?
Upvotes: 0
Views: 110
Reputation: 20224
I would use a controller and init it like so:
init: function (app) {
this.control({
'component': {
click:function() {
}
}
});
Upvotes: 2