Sencha Touch Label - does it have a Tap Event?

sencha-touch-2

Solution

You can do this :

label.element.on({
    tap : function(e, t) { ... }
});

Hope this helps

Problem

I'm trying to build a flashcard app with sencha touch 2. I have a label showing the question, which takes up the entire screen, I want it so that when the user taps on the label the answer shows. Does the label have a 'tap' event? It works when I use a button, but not when I use a label. Another way around is if I can get the button to be transparent on top of a label. Any suggestions?

Original source