Please help me out! I was unable to load data from my "data.json" file into 
my polymer controls
=====================================================================


<link rel="import" href="bower_components/polymer/polymer.html">
<link rel="import" href="bower_components/iron-ajax/iron-ajax.html">

<dom-module id="list-binding">
  <style></style>
  
 <template is="dom-bind">
     
     <iron-ajax 
        auto
        url="data.json"
        handle-as="json"
        last-response="{{data}}">
     </iron-ajax>
     
     <!--Binding from API-->
     <div class="list">
        <template is="dom-repeat" items="{{data}}">
         <paper-icon-item class="listItems">
          <img class="avatar blue" item-icon src="{{item.image}}">
            <paper-item-body two-line>
                <div class="title">{{item.title}}</div>
                <div secondary>{{item.description}}</div>
            </paper-item-body>
        </paper-icon-item>
        </template>
    </div>
  </template>
    
<script>
    
  Polymer({
    is: "list-binding",,
    ready: function() 
        
      }
  });
      
</script>
    
</dom-module>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/0ad6ed0f-1bd9-4258-a2be-e358fa02e4f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to