Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Location
    Austria
    Posts
    59
    Answers
    3
    Vote Rating
    2
    samlinux is on a distinguished road

      0  

    Default Unanswered: List animation

    Unanswered: List animation


    PHP Code:
    onItemTap: function(viewindextargetopts){

        var 
    daten this.getStoreVideoStore();
        
    //console.dir(index);
        
    var viewVideolistBase view.up('viewVideolistBase');
        var 
    viewVideolistdetail viewVideolistBase.down('viewVideolistdetail');
        var 
    a2 viewVideolistBase.down('viewVideolist_list');


      
    a2.setLayout({
        
    type'card',
        
    animation: {
             
    type'slide',
             
    direction'left',
             
    duration200
             
    }
         });

        
    viewVideolistdetail.setData(daten.getAt(index).data);
        
    //console.dir(daten.getAt(index).data);
        
    viewVideolistBase.setActiveItem(1);
        
    this.getBackButton().setHidden(false);
        
    a2.deselect(daten.getAt(index));


            }); 
    I try to setup a card animation from a list to a detail view.

    But it don't works ? is there anything special I have to cover ?

  2. #2
    Sencha User
    Join Date
    Sep 2010
    Location
    Austria
    Posts
    59
    Answers
    3
    Vote Rating
    2
    samlinux is on a distinguished road

      0  

    Default


    ok, I got it.

    in the onItemTap function
    PHP Code:
    viewVideolistBase.getLayout().setAnimation({type:'slide',direction:'left'}); 
    and on the onBack function

    PHP Code:
    viewVideolistBase.getLayout().setAnimation({type:'slide',direction:'right'});