Reputation: 141
How do I update the HTML content of a Sench Touch Carousel item ? I'm trying something like this and it is having no effect:
item = carousel.getActiveItem();
item.html = "...new html string ...";
carousel.doComponentLayout();
Thanks.
Upvotes: 3
Views: 5737
Reputation: 141
After much experimentation, found that changing item.html = "...";
to item.update( "..." );
does the trick.
Upvotes: 11