When a binding is defined in a template, the binding
engine can automatically set the required listeners to detect when
the value of the binding source property changes. To support these
change notifications, one of the following conditions must be fulfilled:
- The source property is a bindable property and its setter triggers an onPropertyChanged(propertyName, newValue, oldValue) event.The binding engine connects to this event for the change notifications.
- The source target is a data store item and the data store implements the dojo.data.api.Notifications API.The binding engine connects to the data store onSet event.