title: Sencha Touch Tab Handlers
body: <p>I'm trying to do a Tabpanel in Sencha Touch and add a handler to one of the buttons, but the event doesn't fire when I click it. Any ideas?</p>
  
  <p>Here is the code:</p>
  
  <p>The handler:</p>
  
    <pre><code>var handler = function(button, event) {
          var txt = "YES!";
          alert(txt);
      };
  </code></pre>
  
  <p>And the item:</p>
  
     <pre><code>items: [{
          xtype: 'button',
          title: 'Test',
          html: 'Test',
          iconCls: 'info',
          cls: 'card1',
          handler: handler
      }]
  </code></pre>