Data binding in Polymer 1.0

https://www.polymer-project.org/1.0/api/#dom-bind

<body>
  <template is="dom-bind">
    <h1>{{title}}</h1>
    <paper-slider value="{{title}}" style="width: 100%"></paper-slider>
  </template>
</body>

This took way too long to figure out. I only found out by looking at the Polymer unit tests.

 
11
Kudos
 
11
Kudos

Now read this

Timer class for Node.js

I’m not a fan of the setInterval idea in JavaScript. I’ve seen timers implemented in a much better way in a certain ECMAScript based language that shall remain nameless. That’s why I’ve created a Timer class for Node.js that uses... Continue →