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.

 
13
Kudos
 
13
Kudos

Now read this

Using the Cloud Vision API on App Engine

Here’s a quick snippet of how to use the Cloud Vision API on App Engine. It’s pretty straight forward, the only tricky thing is making sure you set the Content-Type. import json from logging import info from urllib import urlencode from... Continue →