Extract from: http://ift.tt/1surIoa


Code:



bind( descriptor, callback, [scope], [options] ) : Ext.app.bind.BaseBinding/Ext.app.bind.Binding
This method requests that data in this ViewModel be delivered to the specified callback. The data desired is given in a "bind descriptor" which is the first argument.



You can see in this Fiddle example that the function will be only called one time, then never called again when you keep alternating "code" to true <--> false.

http://ift.tt/1surIEv