I am using the next() and prev() methods for my carousel in Sencha Touch. The next() method works perfectly but prev() throws an error: Uncaught TypeError: Object [object Object] has no method 'prev'
Here is my code sample, property "position" was added on by me:
Like I said next works like a charm but prev does not. Has anyone had this problem before?Code:// Determine whether to move forward or backward on the list if( propertyCarousel.getActiveItem().position < data.position ) propertyCarousel.next(); else propertyCarousel.prev();
*Sencha Touch v0.90