-1

カルーセルスクロール可能?

カルーセルで画像をスクロールする解決策はありますか?スクロール可能、スクロール、機能しない

thks..。

コード:

Ext.define('carousel.view.test', {    extend: 'Ext.carousel.Carousel',


    xtype:'test',


    config: {
        fullscreen: true,
       scrollable: 'vertical,


        items: [
            {
                xtype: 'image',
                html: '<img src=./resources/images/1.png />',
                            scrollable: 'vertical'                   


            },
            {
                xtype: 'image',
                html: '<img src=./resources/images/2.png />'

            }
        ]
    }


});

編集 :

私は解決策を見つけたかもしれませんが、それはアンドロイドやイオスではなくクロームで動作します、なぜですか?

できます

config: {     

        items: [
            {xtype: 'container',

                scrollable: 'vertical',
                directionLock:true,
                items:[
                           { xtype: 'image',                         

                            html: '<img src=./resources/images/1.png />'}
                ]                            
            },
4

2 に答える 2

0
scrollable : {
     direction : 'both',
     directionLock : true
}
于 2012-10-02T19:17:25.740 に答える
0

彼らのフォーラムの煎茶メンバーによると、

scrollable : {
    direction     : 'vertical',
    directionLock : true
},

ここに貼り付けるのを忘れてすみません

于 2012-10-03T21:07:28.113 に答える