Reputation: 51
I posted yesterday similar question, but today I discovered how to use data from one page at another page inside the same application. I extended Page 2
from Page 1
and now I can use all its properties (of Page 1
). The problem is that when some property value has changed inside Page 1
(new value) I still get the old value in page 2
. How can I reflect the change at Page 1 to the Page 2
?
Upvotes: 1
Views: 66
Reputation: 3441
For two way data binding from parent to child element and vv.; use attribute-name = "{{property}}"
(not [[property]]
) and declare proterty at child as notify:true
to reflect property upway data binding.
Upvotes: 1