You can continue using the *ngSwitch as before, what you have to do is in the event (ionChange)="segmentChanged($event)" change the value ... ... <看更多>
Search
Search
You can continue using the *ngSwitch as before, what you have to do is in the event (ionChange)="segmentChanged($event)" change the value ... ... <看更多>
When using an ion-segment as part of a scrollable area (or rubber banding area on iOS), starting a scroll action on that element will toggle the segment, ... ... <看更多>