1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    5
    Vote Rating
    0
    amdtuv is on a distinguished road

      0  

    Default statics config in Architect

    statics config in Architect


    Hi,

    does anybody know if it is possible to add "statics" config to some class by Sencha Architect, like

    Code:
    Ext.define('MyApp.util.Utilities', {
        statics: {
            myGlobal: 1
        }
    });
    If I try to add "statics" as custom config I (correctly) get a message popup "A custom config cannot override an reserved member: statics".

    But I wonder how else it is possible?

    Thanks,
    amdtuv

  2. #2
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    560
    Vote Rating
    50
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      0  

    Default


    Create an override for the class will allow you to enter any code you like.

Thread Participants: 1

Tags for this Thread