1. #1
    Sencha User tdikarim's Avatar
    Join Date
    Jun 2007
    Location
    Belgium - Brussel
    Posts
    142
    Vote Rating
    0
    tdikarim is an unknown quantity at this point

      0  

    Default Answered: event slideout animation

    Answered: event slideout animation


    Hi All,

    How to detect a slideOut animation is finished ?

    Code:
    Ext.get("MENUNAV_cmd").slideOut('r', {
        easing: 'easeOut',
        duration: slideDuration,
        remove: false,
        useDisplay: false
    });
    
    //I want to apply this only when the slideOut animation is finished
    Ext.get("MENUNAV_img_nouvelle_commande").dom.outerHTML = '<img id="MENUNAV_img_cmd" src="imag
    
    es/MenuNavigation/cmd_up_fr.png">';
    Ext.get("MENUNAV_cmd").slideIn('l', {
    	easing: 'easeIn',
    	duration: slideDuration
    });
    Thanks for your help
    Tamditi Karim

  2. I'd use the callback param on the animation:

    Code:
    Ext.get("MENUNAV_cmd").slideOut('r', {
        easing: 'easeOut',
        duration: slideDuration,
        remove: false,
        useDisplay: false,
        callback: function () {
            // do something after the slideout animation is complete ...
        }
    });

  3. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    I'd use the callback param on the animation:

    Code:
    Ext.get("MENUNAV_cmd").slideOut('r', {
        easing: 'easeOut',
        duration: slideDuration,
        remove: false,
        useDisplay: false,
        callback: function () {
            // do something after the slideout animation is complete ...
        }
    });

  4. #3
    Sencha User tdikarim's Avatar
    Join Date
    Jun 2007
    Location
    Belgium - Brussel
    Posts
    142
    Vote Rating
    0
    tdikarim is an unknown quantity at this point

      0  

    Default


    Thanks
    that's work like a charm
    Tamditi Karim

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi