O'Reilly logo

Sencha Touch Cookbook by Ajit Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a sheet of buttons with ActionSheet

In an application, say, on an entity, multiple actions can be performed. For example, on an inbox item, a user can reply back to the sender, reply to all, delete the mail, and view the complete mail. Moreover, these actions may vary based on the entity in the context. To handle such scenarios, the Sencha Touch framework provides an ActionSheet component, which allows us to show a sheet of buttons which can help the user trigger different actions. This recipe shows us how to create ActionSheet and use it in an application.

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. Create and open ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required