Tutorial hero image
Lesson icon

Using Gestures & Uncommon Event Bindings in Ionic 2

1 min read

Originally published February 13, 2017

In this video tutorial, we cover how to create event bindings other than the usual (click) event binding in Ionic 2. We will cover how to use gestures like press, swipe, pan, pinch, and rotate, as well as some more uncommon events like keydown and keydown.space.

Here's the video:

Video Notes

  • Event bindings like (click) can be set up on elements in the template to trigger functions in the TypeScript file
  • As well as click, gestures like press, swipe, pan, pinch, and rotate can also be used
  • Normal DOM events like load and keydown can also be used for event bindings

If you enjoyed this article, feel free to share it with others!