Azrim
Azrim

Reputation: 51

Polymer data transfer between different pages of the same application

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

Answers (1)

Cappittall
Cappittall

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

Related Questions