/Shuffle

Categorize, sort, and filter a responsive grid of items

Primary LanguageJavaScriptMIT LicenseMIT

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

npm install shufflejs --save

Shuffle is also available on bower as shufflejs.

Docs and Demos

All found here

Usage (with CommonJS)

var Shuffle = require('shufflejs');

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

Shuffle 4.0

Shuffle 4 removes jQuery as a dependency and is written in ES6.

Inspiration

This project was inspired by Isotope and Packery.