旋转木马滚动?

问题描述:

旋转木马滚动?旋转木马滚动?

有没有解决方案来滚动旋转木马上的图像?滚动,滚动,不工作

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 />' 

      } 
     ] 
    } 


}); 

编辑:

我可能已经找到了解决方案,但它适用于Chrome,而不是机器人或者Ios,为什么?

它的工作原理

config: {  

     items: [ 
      {xtype: 'container', 

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

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

scrollable : { 
    direction : 'both', 
    directionLock : true 
} 
+0

是的滚动{}是东西! THKS – Huberte

根据自己的论坛煎茶成员,

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

忘了贴在这里,对不起