Skip to content

Commit

Permalink
Make iron-ajax send request automatically in dom-bind example
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalec committed Jul 28, 2015
1 parent 7a78a77 commit fe6d224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1.0/docs/devguide/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ itself as the binding scope.
<!-- allow use of Polymer bindings in main document -->
<template id="t" is="dom-bind">

<iron-ajax url="http://..." last-response="{{data}}"></iron-ajax>
<iron-ajax url="http://..." last-response="{{data}}" auto></iron-ajax>

<template is="dom-repeat" items="{{data}}">
<div><span>{{item.first}}</span> <span>{{item.last}}</span></div>
Expand Down

0 comments on commit fe6d224

Please sign in to comment.