Skip to content

Releases: lf2com/magnet.js

v2.0.1

28 Feb 15:58
Compare
Choose a tag to compare
  • Fix getter for those default attribute values returning array

v2.0.0

28 Feb 11:02
Compare
Choose a tag to compare

⚠️ Magnet.js is now based on HTML element so we can use magnet elements easier ⚠️

For detailed usage, check README.md.

v1.0.9

28 Feb 09:30
Compare
Choose a tag to compare

v1.0.8

04 Apr 15:12
Compare
Choose a tag to compare
  • Removed debug log

v1.0.7

31 Dec 08:10
Compare
Choose a tag to compare

Fixed:

  • Critical issue that causes referenece error

v1.0.6

24 Dec 13:27
Compare
Choose a tag to compare

Fixed:

  • Some functions did not return response values in jQuery plugin

v1.0.5

14 Jun 08:09
ea3424f
Compare
Choose a tag to compare

Features:

  • Supported to set enabled of allowing to drag elements
  • Supported for switch unit between relative and absolute
  • Added function to set rectangle of element

Fixed:

  • Remove mouseleave event from triggering end event of magnet group

v1.0.4

12 Jun 04:06
Compare
Choose a tag to compare

Features:

  • Added before/after/do attract functions
  • Added start/end/move of attract events

v1.0.3

09 Jun 07:04
Compare
Choose a tag to compare

Features:

  • Added function to check and move the magnet member with new rectangle info
  • Added an arrow demo that could move focused block with arrow keys

v1.0.2

08 Jun 15:20
Compare
Choose a tag to compare

Features:

  • Added function for aligning to parent x/y center
  • Added function to set attractable of magnet group
  • Added function that could allow/disallow ctrl key to unattract members

Others:

  • Modulized libraries