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
    Jan 2012
    Posts
    28
    Answers
    1
    Vote Rating
    2
    ratmat2000 is on a distinguished road

      0  

    Default Unanswered: How to override xtype config variables

    Unanswered: How to override xtype config variables


    Is it possible to override the default config in my custom xtype class when I create an instance of it in the items block of another class's config?


    For example:

    Code:
    Ext.define('MyClass', {
        xtype: 'myclass',
        config: {
            someConfig: 10,
        }
    });
    Then I include an instance of this class as a component in another's class's items config block:

    Code:
    Ext.define('SomeOtherClass', {
        extend: 'Ext.Panel',
        config: {
            items: [{
                xtype: 'myclass',
                someConfig: 15, // this override doesn't work!
                config: {
                    someConfig: 20 // this override doesn't work either!
                }
            }]
        }
    });
    I can't seem to get this to work but of course all of the default xtypes included with Sencha Touch allow this.

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    28
    Answers
    1
    Vote Rating
    2
    ratmat2000 is on a distinguished road

      0  

    Default


    Nevermind, it's working now....