Twitter Call us on +44 (0)1256 486557

Listening to arbitrary config in ExtJS & Sencha Touch

Did you know you can listen to any arbitrary config value on any of your Observable instances in ExtJS.  Suppose you defined a view in ExtJS or Sencha Touch, and you gave it an arbitrary config of `controlledByTabMaster:true`.  You can then create a listener for that config so that you can easily filter what your controllers are listening to.  Have a look at this example controller init function to work it out: