Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

adding draggable feature to this project #823

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

landonsilla
Copy link

I added the ability to drag/drop and reorder labels. Just add dragtag=true to the . Additionally, there is a onTagDragged option to call a function after a "drop" has occurred. This was asked for in this issue:
#168

Enjoy!

@coveralls
Copy link

Coverage Status

Coverage decreased (-8.8%) to 90.975% when pulling f8e78bb on landonsilla:master into 87d0e6b on mbenford:master.

@roywkc
Copy link

roywkc commented Jan 2, 2018

seems like onTagDragged was not chained onto events.
Added this and it worked
events.on('tag-dragged', scope.onTagDragged).on('tag-added', scope.onTagAdded)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants