[英]Sencha Touch Carousel with inactive slides visible either side
我希望創建一個不僅顯示當前活動幻燈片的Sencha Touch轉盤。 我想在中間看到主要的活動幻燈片,但也要在兩側看到幻燈片。
這怎么可能?
這是我要實現的目標的一個示例:
如您所見,左右兩邊的幻燈片都是可見的,並且有些變灰。
這篇博客文章解釋了如何做到這一點,他們在他們的應用程序中使用它: http : //www.sencha.com/blog/using-the-leap-motion-controller-with-sencha-touch/
他們使用以下代碼:
itemLength: browserWidth * 0.8
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.