Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

ScrollableView singletab event

I can't get the singletab event in ScrollableView working (See example below):

var views = [Ti.UI.createView({title: "T1"}), Ti.UI.createView({title: "T2"})];

var scroller = Titanium.UI.createScrollableView({
    views: views,
    currentPage: currentIndex,
    touchEnabled: true
});
scroller.addEventListener('scroll', function(e) {
    Ti.API.info(e);    
});

scroller.addEventListener('singletab', function(e) {Ti.API.info(e);});


win.add(scroller);

The event is not working in emulator and device.

— asked October 15th 2010 by Oliver Gruber
  • event
  • scrollableview
  • singletab
0 Comments

2 Answers

  • There is no singletab event, there is a singletap.

    — answered October 16th 2010 by John McKnight
    permalink
    0 Comments
  • Yes, you are right ;-). Thx for your help.

    — answered October 18th 2010 by Oliver Gruber
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.