I want to use Ionic 3 ion-list (or whatever works in Ionic 3) to show a horizontal list instead of the typical vertical list.
Looking for a solution without a lot of css or hard to maintain code.
<ion-content>
<ion-list >
<ion-item *ngFor="let data of dataArray" (click)="dataDetail(data)">
<ion-thumbnail item-left>
<img src="https://data.url.com/{{data.path}}{{data.photoName}}"/>
</ion-thumbnail>
<h2>{{data.name}}</h2>
<p>{{data.details}}</p>
</ion-item>
</ion-list>
</ion-content>
Any help is really appreciated.
Thanks Phil
You can do it in this way. This works for me.
HTML
And SCSS is:
You can change the code according to your needs. If you face any problem please let me Known.
Hope this will help You.
Update horizental scroll Html:
Add SCSS:`
I have tested it in my project, and it works fine. it will show output something like this.
I hope this will help you.