Using the polymer-starter-kit-1.0 (to get going more quickly) I am trying to establish data-binding against plain Javascript objects (instead of other Polymer custom-elements).
This seems to only get the initial value of the property I am binding to.
For simplicity: I added a "test" object with a Name property to the main app object,
app.test = { 'Name': 'John Doe' }
and then added a element on the home page like this:
<h3>App Name: <span>[[test.Name]]</span></h3>
This will display the initial value properly ('John Doe').
When I now change the Name of that Javascript object from Javascript code directly, (on-click event of a button) as in app.test.Name = 'Jim Smith' then nothing changes in the one-way bindings.
However, if I add an input element like this:
<input value="{{test.Name::input}}" />
Then the span element will get updated properly when text is changed in the input element.
It is as if changes made directly from Javascript are not observed by Polymer.
What am I doing wrong?