mercredi 13 décembre 2017

handlebars dynamic table row

I am using Ember with Handlebars. I have a situation where I need to dynamically create new table rows after 3 iterations of an array.

<table>

    <tr>
        <td></td>  
    </tr>

</table>

For the sake of example, please assume that there will always be a factor of 3 in the items array. When I try to save this code, I'm getting a syntax error that there is no close tag matching the open tag. How can I dynamically create the and without the syntax error?

I'm using ember CLI version 2.9.1.




Aucun commentaire:

Enregistrer un commentaire