Skip to content

v2.0.0 - All new drag behavior; remove IE8 & 9 support

Compare
Choose a tag to compare
@desandro desandro released this 16 Feb 22:38
· 14 commits to master since this release
  • πŸ‘‡ All new drag behavior
    • items shift up/down. No more random movement. Fixed #55
    • Drop item into fit position. Fixed #165
    • add drop placeholder element. Fixed #190
  • πŸ”§ Added shiftLayout method. Shifts items vertically to reduce gaps, but keep structure
  • πŸ“¦ Resolved Webpack config. Fixed #239
  • βœ‚οΈ Removed IE8 & 9 code
    • βœ‚οΈ removed IE8 dependencies: classie, eventie, get-style-property
  • ⬆️ outlayer v2.
    • replaced EventEmitter with smaller ev-emitter
    • use [data-packery] to init in HTML. .js-packery & data-packery-options still works
    • isOption changed to option. Maintain backwards compatibility with old isOption names:
      • isHorizontal -> horizontal
      • isOriginLeft -> originLeft
      • isOriginTop -> originTop
      • isResizeBound -> resize
      • isInitLayout -> initLayout
  • ⬆️ jquery-bridget v2. Changed jquery.bridget.js path to jquery-bridget.js
  • ⬆️ get-size v2
  • 🍹 switched out Grunt for Gulp for tasks