Sencha touch 2 - How to create dynamic carousel?

一个人想着一个人 提交于 2019-12-01 10:58:37

问题


Sench Touch 2 - How to develop dynamic carousel in sencha touch 2? I want to show each element from the store as a separate card in the carousel.


回答1:


Rdougan offered this as an answer. Looks good to me.

http://web.archive.org/web/20121109164506/http://edspencer.net/2012/02/building-a-data-driven-image-carousel-with-sencha-touch-2.html




回答2:


Update: There's a good answer now to My question quoting some Ed Spencer code. Also I notice that the new release candidate touchstyle example uses an infinite Carousel which is loaded from a Store.

Previously on this channel: I asked this question yesterday at Loading a Carousel from a Store in Sencha Touch 2?. No answers yet, but I notice that the new release candidate offers horizontal scrolling of lists. So I'm hopeful this might give an equivalent to the Carousel which can be loaded from a Store.



来源:https://stackoverflow.com/questions/9431699/sencha-touch-2-how-to-create-dynamic-carousel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!