How to create a drag-able button in Ionic?


#1

Hello Guys,

I have a requirement to create a swipe button. The button should be a circular shaped, at the bottom-left corner of the screen. User should be able to drag the button from left to right. Once the drag is complete, an action should be invoked.

To make myself more clear, you can think of ‘Uber’ application, where there is a drag-able button which says ‘Swipe to confirm pickup’ or ‘Swipe to complete ride’.

Is there any builtin/standard component available which will help me to achieve this? or this will require a complete custom implementation? Also, is there any library available to do this? I am sure many of you must have accomplished this before.

Thanks,
Tejas