Dragable floating label/button how?


#1

Hi
I want to make a button like fab. But I want to make it dragable so that user can position it in any position. How can I do that ?


#2

You could implement drag and drop directive. And use this directive for fab button.


#3

I tried to find about drag-drop. But in Ionic2 I did not find any such directive. I searched in google, and many other pages. But failed. On blog says about using native drag-drop plugin. Finally I failed. Thnk for ur reply.


#4

What about use google search? :slight_smile:
Or you could write it yourself. It’s not hard.


#5

:slight_smile: brother, I tried hard, but failed :frowning:


#6

do you have any solution for this :slight_smile: ?


#7

Any progress on this? Any help would be highly appreciate.


#8

i found this documentation and its quite great https://www.joshmorony.com/building-an-absolute-drag-directive-in-ionic-2/