I'm new to Ember.js and I'm trying to make a simple checkered table. I'm using Bootstrap 4, ember-composable-helpers, and Handlebars. I want to know if anyone knows how to do this WITHOUT using javascript?
My mockup code is as follows however I don't know how to insert logic into the #if HBS helper:
<h1>Table</h1>
<table class="w-100">
<tr class="">
<td class="bg-dark"></td>
</tr>
</table>
Should I just make a ternary class? Anywho I'd like to see if anyone knows just for knowhow purposes...
Aucun commentaire:
Enregistrer un commentaire