Results 1 to 4 of 4

Thread: use config object for e.g getters and setters in ExtJs

  1. #1
    Sencha Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    642
    Vote Rating
    40
      0  

    Default use config object for e.g getters and setters in ExtJs

    Creating custom properties of a class is working fine, however, since the property is not added to the config object, but added "directly" to the class root via applyIf, no getters and setters are defined.

    Some times I want to move the title etc into the config as well (touch 2 style), can this be done in Architect? - without overrides?

    And - the config object itself is not visible in the inspector, and since it's
    Sven Tore Iversen

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    The config system is only available in Touch at this time.
    Aaron Conran
    @aconran

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Hillsborough, NC
    Posts
    435
    Vote Rating
    135
      0  

    Default

    Quote Originally Posted by aconran View Post
    The config system is only available in Touch at this time.
    Is'nt this now available in Extjs 4.1?

    It is described in: www.sencha.com/learn/the-class-system/
    scroll down to "2. Configuration"

    Can we use it in Architect?

    Worth

  4. #4
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    No, we don't yet have support for it.

    We've discussed maybe allowing users to prefix "config." when adding custom configs to indicate that it should go into a config block but we haven't done that yet.
    Aaron Conran
    @aconran

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •