1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    12
    Vote Rating
    0
    Viswa317 is on a distinguished road

      0  

    Default Answered: Jquery Page before event (is it there in sencha?)

    Answered: Jquery Page before event (is it there in sencha?)


    I want to know is there a page Before Event in sencha (Just like in Jquery) for Ext.dataView.list or any component...

    Just before the component paint

  2. I don't know what you want.
    Code:
    Ext.application({
        launch:function(){
            console.info('before any component painted');
            Ext.create('Ext.Panel',{fullscreen:true,html:'panel'});
        }
    });
    
    Ext.create('Ext.Panel',{
        listeners:{
            initialize: function(){
                console.info('before component painted');
            }
        }
    });

  3. #2
    Sencha User
    Join Date
    Apr 2010
    Location
    China
    Posts
    227
    Vote Rating
    20
    Answers
    64
    haduki will become famous soon enough haduki will become famous soon enough

      0  

    Default


    initialize
    I write English by translator.

  4. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    12
    Vote Rating
    0
    Viswa317 is on a distinguished road

      0  

    Default


    initialize is fired when the app itself is loaded.
    But I want to fire an event exactly before a container gets painted on the screen
    Is there any events like that???

  5. #4
    Sencha User
    Join Date
    Apr 2010
    Location
    China
    Posts
    227
    Vote Rating
    20
    Answers
    64
    haduki will become famous soon enough haduki will become famous soon enough

      1  

    Default


    I don't know what you want.
    Code:
    Ext.application({
        launch:function(){
            console.info('before any component painted');
            Ext.create('Ext.Panel',{fullscreen:true,html:'panel'});
        }
    });
    
    Ext.create('Ext.Panel',{
        listeners:{
            initialize: function(){
                console.info('before component painted');
            }
        }
    });
    I write English by translator.

Thread Participants: 1

Tags for this Thread