Announcement

Collapse
No announcement yet.

Show whatever element of each list in html

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Show whatever element of each list in html

    I want to use what I need from the returning values.
    Each list I want to select and display only one value in the loop. How can I do that ? I will show you sample codes.If there's a place you do not understand, ask.
    Would you show me the method of this? Because I use my own design.
    Thanks in advance for your help.

    For example like this;

    Code:
    <ul class="list-group">        
        {{#each rowList}}                
          <li data-id="{{./this}}" class="list-group-item list-row">                        
             <h2>City: </h2>{{cityName}}                        
             <h2>Car: </h2> {{carName}}                
          </li>        
        {{/each}}
    </ul>
    Last edited by gundogduyakici; 04-17-2018, 02:14 PM.
Working...
X