Pinch Gesture is not working

The marked answer is one of the ways to enable the pinch gesture. A recent article was posted to describe the other methods as well. It is too much to paste in here. But to get a gist of the idea;

  • Enable it per page context using the Gesture class (the marked solution for this question)
  • Enable it using the overrides property within an extended HammerGestureConfig
  • Enable it by overriding the buildHammer(element: HTMLElement) { } method within an extended HammerGestureConfig
  • Writing a small “pinch directive” due to the lack of consistency that above implementation provides (most preferable solution)

Full article / source: https://www.ionicrun.com/using-the-pinch-gesture-in-ionic-2/