Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.09 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.09 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.