Name | Price |
---|
{{item.name}} | {{item.price}}$ |
Dom-repeat doesn't work in tables in IE (issue #1567)
<table> <thead> <tr> <th>Name</th> <th>Price</th> </tr> </thead> <tbody> <template is="dom-repeat" items="{{model.products}}"> <tr> <td>{{item.name}}</td> <td> <span>{{item.price}}</span>$ </td> </tr> </template> </tbody> </table>
<juicy-table-repeat rows="{{model.products}}"> <table class="table"> <thead> <tr> <th>Name</th> <th>Price</th> </tr> </thead> <tbody></tbody> </table> <template is="dom-template" class="row-template"> <table> <tr> <td>{{item.name}}</td> <td> <span>{{item.price}}</span>$ </td> </tr> </table> </template> </juicy-table-repeat>