Results 1 to 2 of 2

Thread: How to use lazy loading on view(Ext.view.view)

  1. #1
    Sencha Premium User
    Join Date
    Jul 2018
    Posts
    4

    Default How to use lazy loading on view(Ext.view.view)

    Hello, My project have a lot of image on view panel(Ext.view.view). (150-200 pic)
    Then I need to use lazy loading.
    I using Xtemplate(TPL) to insert my image to <div> tag.

    Ext JS 6.6 classic

    My project running on iPad. When I try to load all image that make ipad freezes.

  2. #2
    Sencha Premium User dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,242
    Answers
    26

    Default

    there are a lot of image lazy load libraries out there you can use for this.

    eg: https://github.com/ApoorvSaxena/lozad.js
    Cloud Application Architect

    Sencha Specialist / Sencha MVP / Sencha Technical Trainer
    ExtJs Developer + Contributor since 0.2.2 - Champion of the per developer license.

Posting Permissions

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