I want to implement swipe feature to <ion-tabs>, but not using <super-tabs>. Do anyone know to implement swipe feature to <ion-tabs>. Below is the sample project link, if you need…
1.Open the project in VS Code and run npm install in integrated terminal window.
2.Run ionic serve
3.Click on Recharge/Payments
4.Select the options in Operator and State selectbox.
5.Click on ViewPlans
The easiest way, the way Ionic choosed : https://github.com/ionic-team/ionic/tree/v3/src/gestures
Is to import HammerJs, and create your own utils functions.
Then you’ll be able to do a component that do a specific thing on tap, double tap, swipe etc…
npm i hammerjs@latest --save npm install --save-dev @types/hammerjs
add HammerJs to the tsconfig.json file: