I'm not sure if I missed something in Sencha's API, but I can't seem to find any event that is fired after two-way binding is completed, or any flag that is false until two-way binding is completed.
The reason why I'm asking is because I need to track changes in a textfield and a htmleditor. Since I use two-way binding with them, their 'dirtychange' event is always fired right at the beginning. I need to ignore that event and catch the real user input changes after two-way binding is fully initialized.
Hence I'm looking for one of the three solutions:
1. An 'afterbind' event
2. A property 'bindcomplete' that is only true after binding is complete and all values assigned to components
3. 'dirtychange' only fires after the binding is complete and all values assigned to components.
Please help, thanks!
Regards, Fei
Event after two-way binding is complete
Aucun commentaire:
Enregistrer un commentaire