Javascript 旋转木马可滚动?

Javascript 旋转木马可滚动?,javascript,sencha-touch,extjs,carousel,Javascript,Sencha Touch,Extjs,Carousel,旋转木马可滚动 是否有一种在旋转木马中滚动图像的解决方案?可滚动,滚动,不工作 厚 代码: Ext.define('carousel.view.test',{extend:'Ext.carousel.carousel', xtype:“测试”, 配置:{ 全屏:对, 可滚动:'垂直, 项目:[ { xtype:'图像', html:“”, 可滚动:“垂直” }, { xtype:'图像', html:' } ] } }); 编辑: 我可能已经找到了一个解决方案,但它可以在chrome上运行,而

旋转木马可滚动

是否有一种在旋转木马中滚动图像的解决方案?可滚动,滚动,不工作

代码:

Ext.define('carousel.view.test',{extend:'Ext.carousel.carousel',
xtype:“测试”,
配置:{
全屏:对,
可滚动:'垂直,
项目:[
{
xtype:'图像',
html:“”,
可滚动:“垂直”
},
{
xtype:'图像',
html:'
}
]
}
});
编辑:

我可能已经找到了一个解决方案,但它可以在chrome上运行,而不能在android或Ios上运行,为什么

它起作用了

config: {     

        items: [
            {xtype: 'container',

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

                            html: '<img src=./resources/images/1.png />'}
                ]                            
            },
config:{
项目:[
{xtype:'容器',
可滚动:“垂直”,
方向锁:对,
项目:[
{xtype:'图像',
html:'}
]                            
},

根据sencha成员在论坛上的说法

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

忘了在这里粘贴,抱歉

是的,可滚动{}就是那个东西
scrollable : {
     direction : 'both',
     directionLock : true
}
scrollable : {
    direction     : 'vertical',
    directionLock : true
},