Created
February 20, 2020 12:00
-
-
Save ArtemRomanovsky/4d83fd5667655d51157e4b531ff0cdd3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function (checkAndUpdate, viewData) { | |
| var component = viewData.component; | |
| // here node index is 1 and property is `name` | |
| var currentValue_0 = component.name; | |
| checkAndUpdate(viewData, 1, 0, currentValue_0); | |
| // here node index is 4 and bound property is `age` | |
| var currentValue_1 = component.age; | |
| checkAndUpdate(viewData, 4, 0, currentValue_1); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment