Target to Source
A little memory aid for the term ‘Target to Source’ which can easily be mixed up.
Simple Memory Trick:
"The View Model is the SOURCE of truth"
The Key Definitions:
Source = View Model Property (the data or blueprint)
Target = Editor Element Property
Memory Aids:
Source to Target (default): Data flows FROM the View Model Property TO the Editor Element
The VM property is the "source of truth" which updates the editor element
Target to Source: Data flows FROM the Editor Element TO the View Model Property
The “source of truth” is now being updated by the editor.