Skip to content

Hype Drag Controller v1.2.1

Choose a tag to compare

@worldoptimizer worldoptimizer released this 27 Jun 10:25
· 23 commits to main since this release
841c6b7
  • 1.0.0 Initial release.
  • 1.0.1 Refactored to use data-attributes (data-drag-name, data-drop-target) instead of IDs and classes for improved reusability.
  • 1.0.2 Improved code readability by expanding setDefault/getDefault and removing the _styleInjected flag in favor of a direct DOM check.
  • 1.0.3 Added comprehensive JSDoc comments to all functions for better maintainability.
  • 1.1.0 Corrected Hype API timing function names (e.g., 'easeinout' instead of 'ease-in-out').
  • 1.1.1 Enhanced drop target detection to select target with largest overlap area instead of first match.
  • 1.2.0 Added onProgress callback support during drag move phase for real-time interaction feedback.
  • 1.2.1 Added onStart callback support for drag initiation phase.