-
29 Aug 2012 5:09 AM #1
use config object for e.g getters and setters in ExtJs
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'sSven Tore Iversen
-
29 Aug 2012 8:28 AM #2
The config system is only available in Touch at this time.
Aaron Conran
@aconran
Sencha Architect Development Team
-
4 Jan 2013 9:39 AM #3
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 Jan 2013 10:24 AM #4
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
Sencha Architect Development Team


Reply With Quote