Results 1 to 2 of 2

Thread: Lazy loading carousel items in Modern

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2015
    Posts
    25

    Default Answered: Lazy loading carousel items in Modern

    Hello,

    I have a carousel with three items(cards) in modern toolkit. The second item is of xtype 'testgrid' for example. I put debug logs in 'constructor' and 'initialize' functions of testgrid class and somehow saw both logs when carousel is loaded.

    My impression is that carousel do lazy loading. Which means the second item will not be initialized when carousel is initially loaded and the first item is active by default. Please correct me if I'm wrong. Thank you!

  2. No this does not happen automatically. You must implement it in your code.

  3. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    No this does not happen automatically. You must implement it in your code.

Similar Threads

  1. [OPEN] Ext JS Modern Carousel flickers when loaded
    By MikeLowery in forum Ext JS 6.x Bugs
    Replies: 2
    Last Post: 14 Dec 2015, 2:41 PM
  2. Lazy fetch in Carousel
    By jettro in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 10 Jun 2013, 12:28 PM
  3. carousel - need to follow the movement of items in the carousel closley
    By gkatz in forum Sencha Touch 2.x: Discussion
    Replies: 3
    Last Post: 26 Dec 2012, 8:30 AM
  4. Issue in adding LISTENER to carousel element(can't access items within the carousel)
    By deepaknair.g in forum Sencha Touch 2.x: Discussion
    Replies: 7
    Last Post: 22 Nov 2011, 12:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •