jeudi 3 août 2017

Make a row clickable with ember-bootstrap

Here is an example of my hbs code.

<div class="table-responsive">
    <table class="table table-striped">
        <thead>
        <th>#Id</th>
        <th></th>
        <th></th>
        <th></th>
        <th></th>
        </thead>
        <tbody>
        
            <tr>
                <td>
                    
                        
                    
                </td>
                <td>
                    
                        
                    
                </td>
                <td>
                    
                        
                    
                </td>
                <td>
                    
                        
                    
                </td>
                <td>
                    
                        
                    
                </td>
            </tr>
        
        </tbody>
    </table>
</div>

As you can see, every element of this panel link to the same profil, but I wondered if there is a way to make the whole row clickable, not every element.
That mean that I want to click between each , not just on them, to send me to a profile. I already searched for that, but I couldn't find an answer for bootstrap and handlebar together.
Thank you for your time!




Aucun commentaire:

Enregistrer un commentaire