Threaded View
-
4 Nov 2011 8:25 AM #1
Answered: Tap event for Panel?
Answered: Tap event for Panel?
I have an application that has several Panels. Each panel host other components. I want to capture the event when the user touches anywhere in the Panel. In essence each Panel is like a big button.
How do I do this?
-
Best Answer Posted by rdougan
Just add the tap event listeners in the initialize method.
Code:initialize: function() { this.element.on({ tap: function() { console.log('tapped!'); } }); }


Reply With Quote