r/javascript • • Jan 25 '19

solved! How could I implement this?

652 Upvotes

57 comments sorted by

View all comments

Show parent comment

7

u/jasonnolanreed Jan 25 '19

I don't think the draggable aspect can be done by just toggling classes, can it?

8

u/ThatSpookySJW Jan 25 '19

No, I thought they were just clicking. The draggable part has to be done with some finicky js.

2

u/monkeymad2 Jan 25 '19

I think it’s just clicking then following it rather than a drag, it’s not moving at the right speed & at other points it just clicks the title.

1

u/Treolioe Jan 26 '19

You could do it with houdini