Hnqlv Minigrid Versions Save

? Minimal 2kb zero dependency cascading grid layout

v3.1.1

7 years ago

v3.1.0

7 years ago

v3.0.6

7 years ago
  • Update npmcdn url #57

v3.0.5

7 years ago
  • Revert change containerEle.style.display = 'inline'; causing issues #55

v3.0.4

7 years ago
  • Fixes getBoundingClientRect() computing width for hidden containers #50

v3.0.3

8 years ago
  • Move site to js.org

v3.0.2

8 years ago
  • Move GitHub pages to master branch into site folder

v3.0.1

8 years ago
  • Add dist file to package.json

v3.0.0

8 years ago

The major change is the API. We took one step back to its core principle of "keep it simple".

var props = {
  container: '.cards',
  item: '.card',
  guter: 8
};
var grid = new Minigrid(props);
grid.mount();
  • Back to 2kb ?
  • mount() method to initialize Minigrid
  • Animation was removed due to issues when dealing with many items which is the most of the user cases
  • Remove the custom loading causing issues when loaded with require
  • Round posX, poxY values #48
  • Fixes the issue when working with multiple grids/selectors #43
  • Works when loaded via module #40

v2.2.0

8 years ago
  • Add containerLoaded and itemLoaded options #37
  • Fix minification #38
  • Remove webpack
  • Remove custom forEach loop
  • Replace custom window.onload function for window.addEventListener('load'). Closes #36
  • Add backface-visibility to prevent text rendering issues. Closes #26