You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vestride_Shuffle/README.md

1.3 KiB

Shuffle Build Status Dependency Status Greenkeeper badge NPM version

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.