1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    8
    Vote Rating
    1
    adilTAG is on a distinguished road

      1  

    Default Unanswered: Add progressbar during application loading

    Unanswered: Add progressbar during application loading


    Hi everybody,

    My application spends more then 5s before that the login page appears, and I want to add a progressbar that appears during consumed time, how I can do this in ExtJS 4.x ?
    If it isn't possible, so how to to add a simple load mask ?

    Thanks in advance.

  2. #2
    Sencha - Services Team arthurakay's Avatar
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,353
    Answers
    60
    Vote Rating
    33
    arthurakay is a jewel in the rough arthurakay is a jewel in the rough arthurakay is a jewel in the rough

      0  

    Default


    Adding a mask is really easy.
    - http://docs.sencha.com/ext-js/4-0/#!...nt-method-mask

    As soon as possible (before your app launches) try to grab the HTML body (or whatever element is appropriate) and wrap it as an Ext.Element. Then call mask().

    It's easy to then unmask later.
    Arthur Kay
    Developer Relations Manager, Sencha Inc.

    Twitter | Sencha Chicago User Group

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    8
    Vote Rating
    1
    adilTAG is on a distinguished road

      0  

    Default


    Thanks arthurakay for your reply, can you share a sample of code, I mean specially where I can put the mask() to start the mask and where I can put the unmask() to to stop the mask ?

Thread Participants: 1