sortable-dnd

JS library for drag-and-drop lists, supports sortable and draggable

MIT License

Downloads
18.5K
Stars
17
Committers
3
sortable-dnd - v0.3.8

Published by mfuu about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/mfuu/sortable-dnd/compare/v0.3.7...v0.3.8

sortable-dnd - v0.3.7

Published by mfuu about 2 years ago

  • Fix: from to got error data in callback functions
  • Fix: onDrop trigger error
sortable-dnd - v0.3.5

Published by mfuu about 2 years ago

  • Fix that onRemove and onAdd trigger error
  • Fix that dropEffect does not take effect
  • Fix that ghostStyle and ghostClass does not take effect
  • Update animations when change position
sortable-dnd - v0.3.3

Published by mfuu about 2 years ago

  • Add callback functions: onAdd, onRemove
  • Fix bug that the put parameter in group does not take effect
  • Fix bug that onChange triggers multiple times when dragging between groups
  • Adjusted the params of onDrag
sortable-dnd - v0.3.0

Published by mfuu about 2 years ago

  • Add option: group, it's used to drag element from a list group to another
  • Adjusted the parameters of some methods: onDrag, onMove, onDrop, onChange
sortable-dnd - v0.2.7

Published by mfuu over 2 years ago

Fix the problem that the mobile terminal cannot be dragged

sortable-dnd - v0.2.6

Published by mfuu over 2 years ago

Add HTML5 drag event

sortable-dnd - v0.2.5

Published by mfuu over 2 years ago

  • Solve the error when use destroy
  • Fix auto scroll problem
  • Add utils and optimize drag and drop performance
sortable-dnd - v0.2.3

Published by mfuu over 2 years ago

  • Add options with autoScroll, scrollStep, scrollThreshold
  • Add throttle when element exchange
  • Fix bug that mobile devices could not be dragged
  • Fix the problem that delay does not take effect
sortable-dnd - v0.2.2

Published by mfuu over 2 years ago

  • Remove options dragEnd
  • Add optoins with onDrag, onMove, onDrop, onChange
  • Fix bug that the default selected event does not take effect
  • Fixed an issue where elements could not be swapped while dragging sometimes

more details can be found in the documentation

sortable-dnd - v0.1.3

Published by mfuu over 2 years ago

  • Add options disabled, forceFallback, stopPropagation, ghostAnimation, delay, delayOnTouchOnly
  • Restructure the class, and updated some internal methods, also modified the ghost element code logic
  • Support some mobile devices
  • Continuous clicks do not trigger drag events
sortable-dnd - v0.0.12

Published by mfuu over 2 years ago

  • Fix the problem of scrolling disorder when dragging
  • Increase the judgment of whether there is a change before and after dragging
  • Add offset value in dragEnd method
sortable-dnd - v0.0.11

Published by mfuu over 2 years ago

  • Add component auto-uninstall function
  • Add destroy method
sortable-dnd - v0.0.9

Published by mfuu over 2 years ago

sortable-dnd - v0.0.8

Published by mfuu over 2 years ago

sortable-dnd - v0.0.7

Published by mfuu over 2 years ago

  • change the init method
  • add options draggable and chosenClass
  • add touch event
  • added and overridden some public methods