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

swipeGesture in ion-segment has no effect

$
0
0

I tried hard to make the segment feature with swipe gesture (left and right) work, but no success. Could it be a bug or I have not done it correctly? Any help is appreciated.

  <ion-segment swipe-gesture="true" value="x" [(ngModel)]="segmentModel">
    <ion-segment-button value="x">
      <ion-label>X</ion-label>
    </ion-segment-button>
    <ion-segment-button value="y">
      <ion-label>Y</ion-label>
    </ion-segment-button>
    <ion-segment-button value="z">
      <ion-label>Z</ion-label>
    </ion-segment-button>
  </ion-segment>

Ionic CLI: 6.11.0
Ionic Framework: @ionic/angular 5.6.12
@angular-devkit/build-angular: 0.803.29
@angular-devkit/schematics: 8.1.3
@angular/cli: 8.3.29
@ionic/angular-toolkit: 2.3.3

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48983

Trending Articles



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