Dynamically updating HTML content in Sencha Touch carousels?

How to update HTML content in Sench Touch carousel? I am trying something like this and this has no effect:

item = carousel.getActiveItem();
item.html = "...new html string ...";
carousel.doComponentLayout();

Thank.

+3
source share
1 answer

After much experimentation, it turned out that changing item.html = "...";to item.update( "..." );does the trick.

+11
source

Source: https://habr.com/ru/post/1792676/


All Articles