- /*global Ext:false */
- Ext.application({
- launch: function () {
- Ext.create('Ext.Carousel', {
- defaults: {
- styleHtmlContent: true
- }, // defaults
- indicator: false, //Carousel 去除底栏
- fullscreen: true,
- items: [
- {
- html: 'red',
- style: 'background-color:#f00;'
- }, {
- html: 'orange',
- style: 'background-color:#ffb600;'
- }, {
- html: 'yellow',
- style: 'background-color:#ff0;'
- }, {
- html: 'green',
- style: 'background-color:#80ff4d;'
- }, {
- html: 'blue',
- style: 'background-color:#009dff;'
- }
- ] // items
- }); // create()
- } // launch
- }); // application()
Sencha Touch Carousel 去除底栏
最新推荐文章于 2024-05-20 14:05:26 发布
本文提供了一个使用 Ext JS 库创建全屏轮播 (Carousel) 的示例代码。该示例展示了如何配置轮播组件以显示一系列颜色背景,并设置其为全屏显示。此代码片段对于初学者了解 Ext Carousel 的基本用法非常有帮助。



3万+

被折叠的 条评论
为什么被折叠?



