repeating over tbody

38 views
Skip to first unread message

tomasz....@gmail.com

unread,
Mar 24, 2014, 4:15:12 PM3/24/14
to polym...@googlegroups.com
hi,

I'm using Polymer with Dartlang and was looking for solution for having multiple rows per item model 
when iterating TRs and I found that:
<table>
<tbody template repeat="{{item in items}}"> 
  <tr><td>row 1</td></tr>
  <tr><td>row 2</td></tr>
</tbody>
</table>
IS currently working fine (at least with current Dart dev Polymer version) and I find it super-useful.

So here comes my question: Is Polymer devs intention to support this construct ?

If not is there any other way to have multiple rows per model item in repeat template in table?

cheers,
t.k


Rafael Weinstein

unread,
Mar 24, 2014, 4:18:21 PM3/24/14
to tomasz....@gmail.com, polymer-dev
<tbody template> is required if you want to target browsers which do not yet implement the Template element natively. For browsers that do, you can just use a regular <template>.

Yes, Polymer plans to support the above (tbody template) usage above going forward.


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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/6c28a220-a1d6-4732-8fb6-f569ca8aee3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages