This was kind of tricky to wrap my hear around to, but it isn’t that difficult.
I’ve declared a property named “message” and a paper-input element with the value of that property and a message to display the value.
You can notice that to “bind” the value I used the double curly brackets and the double square brackets.
For extra flexibility in Polymer we can add the “notify” or “readonly” attributes.
- With the notify every time we change the “message” value an event is triggered named “message-changed”