dimanche 28 août 2016

Ember: how to make one item binding instead of valueBinding="this" in list

This code for all items works well:

 
                <li>
                    <p>
                        <span class="index">. </span>
                        <span></span>
                    </p>
                    <div class="chart">
                        
                          
                        
                        
                          <div class="no-results">No data.</div>
                        
                    </div>
                </li>


But I want to do the same for one item in content.Questions. E.g.:

 <li>
                        <p>
                            <span class="index">.</span>
                            <span></span>
                        </p>
                        <div class="chart">
                            
                              
                            
                              <div class="no-results">No data.</div>
                            
                        </div>
</li>

This doesn't work. What should I write instead?




Aucun commentaire:

Enregistrer un commentaire