ITeye博客

sencha touche Ext.Carousel 用法

junjun16818 · 2011-02-17 17:46 · Sencha touch · Web前端 · CSS · EXT · UI · Markdown

//这个控件是 可以用鼠标手势切换内容

var carousel = new Ext.Carousel({
            fullscreen: false,  //全屏
			padding:60, // 距离
            //ui: 'top',
            direction: 'vertical',  //设置为水平  默认为垂直
            defaults: {
                cls: 'card'   //设定css 样式
            },
            items: temp  //显示内容
			
        });

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。