Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49107

Array in reverse order

$
0
0

@Faizyfaazz wrote:

In my ionic project i display some data from native storage.it displays in first in first order.i want to display that in last stored data at first.

  <ion-card *ngFor="let asd of FullDetails; let k=index" style="border: 2px solid #9D9D9D;border-radius: 10px" >
<ion-card-content >
      <p style="font-size: 22px;">{{airline_name[k]}}</p>
      <div class="row" style="border-bottom:0px">
        <div class="col" style="font-size: 25px;width: 25%">{{departure_fscode[k]}}</div>
        <div class="col" style="padding-top: 10px;width: 50%!important;"><img src="assets/statusicon/arrive_onTime.png"></div>
        <div class="col" style="text-align: right;font-size: 25px;width: 25%">{{arrival_fscode[k]}}</div>
      </div>
      <label style="padding-left: 40px;color: #008000">{{asd.status | statusupdator}}</label><label style="padding-right: 5px;padding-left: 5px;">-</label><label>departs in 2 hr 4mins</label>

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 49107

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>