Ion-segment selected on page load

Hello how do I make the first ion-segment-button selected on page loadkask

here is my code

<ion-segment [(ngModel)]="notifications">
      <ion-segment-button class="segebutton"  id="btn1" value="all">
      <ion-segment-button class="segebutton" id="btn2" value="mentions">

How about assigning to notifications?

How do I assign it to notifications ?

Is this resolved? I’m trying to figure out as well

In your ts file add (inside constructor)
Hopes it may help you.