1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    28
    Answers
    1
    Vote Rating
    0
    ultraman69 is on a distinguished road

      0  

    Default Answered: Toggling bewteen class dynamiclay

    Answered: Toggling bewteen class dynamiclay


    Hi !

    In the longpress event, I'm trying to apply a Panel's baseCls at runtime. Like this :

    Code:
    var bio = Ext.getCmp('panelBio02');
    
    
    if(Ext.is.Tablet || Ext.is.Desktop) {
        bio.setBaseCls = 'PanelBio';
    }else{
        bio.setBaseCls = 'PanelBioPhone';
    }
    Since it doesn't work, can anyone explain me how to do this ?

  2. bio.setBaseCls('PanelBio');
    bio.setBaseCls('PanelBioPhone');

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

      0  

    Default


    bio.setBaseCls('PanelBio');
    bio.setBaseCls('PanelBioPhone');
    I write English by translator.

  4. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    28
    Answers
    1
    Vote Rating
    0
    ultraman69 is on a distinguished road

      0  

    Default


    Absolutely... I was way out on that one. I was trying to affect a property like in C#... but in reality it is a set method. Thanks !

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..."