mercredi 13 novembre 2019

How do I hook up my CSS grid table to an Array?

I have a 5x5 grid set up on my .HBS. I want to hold the state of my game somehow using ember.js OCTANE. How do I do this, and what's the best way? Please share ideas. Do I need to create a model? I'm new to Octane so please help. So far, I've just created a grid component and I'm trying to use glimmer tracking with an array.

HBS:

    <table class="quantize" style="width: 80%">
        
        <tr class="">
             
                    <td
                     class="border border-dark"
                     style="width:10%">
                                                
                    </td>           
            
        </tr>
        
    </table>



Aucun commentaire:

Enregistrer un commentaire