concept ActionList class in category sencha touch

appears as: ActionList class
Sencha Touch in Action

This is an excerpt from Manning's book Sencha Touch in Action.

If the gesture is horizontal and the delta is at least greater than or equal to five pixels, we do some calculations to figure out the direction of the gesture and fire a custom horizontaldrag event, passing in the ActionListItem instance and X coordinate to move to. This horizontaldrag event will be listened to by the ActionList class to halt vertical scrolling and hide scroll bars if they are present, as well as execute the ActionListItem instance’s showActions method, thereby completing the animation sequence.

Listing 10.13. The last five methods for the ActionList class