Releases: lf2com/magnet.js
Releases · lf2com/magnet.js
v2.0.1
- Fix getter for those default attribute values returning array
v2.0.0
⚠️ Magnet.js is now based on HTML element so we can use magnet elements easier ⚠️
For detailed usage, check README.md.
v1.0.7
Fixed:
- Critical issue that causes referenece error
v1.0.6
Fixed:
- Some functions did not return response values in jQuery plugin
v1.0.5
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
Features:
- Added before/after/do attract functions
- Added start/end/move of attract events
v1.0.3
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
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: