@arctushar wrote:
<ion-list> <ion-item *ngFor="#item in items"> <ion-thumbnail item-left> <img src="img/{{item.title}}.png"> </ion-thumbnail> <h2>My Neighbor Totoro</h2> <p>Hayao Miyazaki • 1988</p> <button clear item-right>View</button> </ion-item> </ion-list>
Hello, I have above command. in item array there are 5. I want that dynamically add "img/" before the title and ".png" after the title. How can I do that ?
Plz help
Posts: 4
Participants: 3