Sliding Switch Implementation

Hi, I am wondering how I would be able to achieve this functionality:
image

Basically, I want to have an event occur when the user slides the orange button to the right. I was looking at item sliding in the documentation but I don’t think this is quite the same:

First thing I’d try is HammerJS. If you’re using Angular, there’s an injectable service.

Thanks rapropos! This is really cool. I am using Vue with Ionic so I’ll try HammerJS out.