1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    187
    Answers
    5
    Vote Rating
    3
    olouvignes is on a distinguished road

      0  

    Default Answered: panel.setActiveItem animation options

    Answered: panel.setActiveItem animation options


    In ST 2.0, it seems that setActiveItem has lost it's animation option.

    Is defining a show() method in target container & using Ext.Animator.run the new way of doing those animations (is there anything quicker ?!)

  2. Found an easier workaround :

    Code:
    container.getLayout().setAnimation({type: 'slide', direction: 'left'});
    container.setActiveItem(target);
    Is it fine?

  3. #2
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Answers
    29
    Vote Rating
    7
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    For now, yes, but we'll be bringing a nicer API to this
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  4. #3
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    187
    Answers
    5
    Vote Rating
    3
    olouvignes is on a distinguished road

      0  

    Default


    Found an easier workaround :

    Code:
    container.getLayout().setAnimation({type: 'slide', direction: 'left'});
    container.setActiveItem(target);
    Is it fine?

  5. #4
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Looks good.

  6. #5
    Sencha User MiamiCoder's Avatar
    Join Date
    Mar 2009
    Location
    Miami, FL
    Posts
    140
    Answers
    2
    Vote Rating
    2
    MiamiCoder is on a distinguished road

      0  

    Default


    I also bumped into this issue. Solved as outlined above. I hope the API comes soon.

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