Add Next and pevious button in Angular GET API

I display a list of data on my page.
Now the client says display one and then add next and previous button for pev and next.

my code is.

        <div *ngFor="let l of list">        
            <ion-card mode="ios" *ngIf="l.data!=null">
                <ion-card-content>
                  <div class="ion-des" [innerHTML]="l.data| safe"></div>
                </ion-card-content>
            </ion-card>
        </div>

and my typescript code is

 getMenu() {
    this.api
      .get(
        'GetMenuData'
      )
      .then((data: any) => {
        this.list = data.data;
      });
  }

enter image description here

Instead of data 1, data 2, data 3, …, data n
I need to add data 1 and Next and Pevious btn on this page.

52 thoughts on “Add Next and pevious button in Angular GET API”

  1. Pingback: advanced keto
  2. 798128 72311An intriguing discussion will likely be worth comment. Im positive which you require to write more about this topic, it might not be a taboo topic but normally consumers are too couple of to chat on such topics. To yet another. Cheers 451853

    Reply
  3. Pingback: zanaflex coupon
  4. Pingback: molnupiravir
  5. Pingback: tamoxifen 10
  6. Pingback: olumiant covid
  7. Pingback: tizanidine 2018
  8. Pingback: clomid 100mg buy

Leave a Comment