ngTagsInput icon indicating copy to clipboard operation
ngTagsInput copied to clipboard

adding draggable feature to this project

Open landonsilla opened this issue 8 years ago • 2 comments

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: https://github.com/mbenford/ngTagsInput/issues/168

Enjoy!

landonsilla avatar Sep 12 '17 22:09 landonsilla

Coverage Status

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

coveralls avatar Sep 12 '17 22:09 coveralls

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

roywkc avatar Jan 02 '18 10:01 roywkc