Handling Tap Events

This recipe shows the available tap events and ways to handle them.

Getting ready

Make sure that you have set up your development environment by following the recipes outlined in Chapter 1.

How to do it...

Carry out the following steps:

  1. Add the following events and their handlers to the list of events that we had added on the panel element in the first recipe:
                singletap: this.handleEvent,
                tap: this.handleEvent,
  2. Deploy and access it from the device of your choice.

Get Sencha Touch Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.