How to create "Carousel" in Sencha Touch?

Total Post:19

Points:133

 2262  View(s)
Ratings:
Rate this:
Hi Expert,

I want to create "Carousel" in Sencha Touch, please help me to create this.

Your help is great appreciated. 
  1. Re: How to create "Carousel" in Sencha Touch?

    Hi Zaharias, 

    If you're using Sencha Architect, you can simply drag 'Carousel' control from toolbox to View section in Sencha Inspector but if you not then simply write down the following line of code:

      Ext.create('Ext.Carousel', {
                fullscreen: true,
                defaults: {
                    styleHtmlContent: true
                }, // defaults
                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()
    For more information please check out the following link:

    Mark as answer if satisfied with this solution. Thanks!!

      Modified On Mar-30-2018 05:48:44 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.