Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.16 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.16 KB

Categorize, sort, and filter a responsive grid of items.

npm install shufflejs

Docs and Demos

All found here

Usage (with ES6)

import Shuffle from 'shufflejs';

const shuffleInstance = new Shuffle(document.getElementById('grid'), {
  itemSelector: '.js-item',
  sizer: '.js-shuffle-sizer',
});

Inspiration

This project was inspired by Isotope and Packery.