Shorthand id/class notation
tipsy opened this issue · comments
David commented
Looking into creating a shorthand for adding id/class to elements. Current suggestion:
table($("#my-table.table"),
tbody(
tr($(".table-row"),
td()
)
)
)
<table id="my-table" class="table">
<tbody>
<tr class="table-row">
<td></td>
</tr>
</tbody>
</table>