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.
 
 
Go to file
Glen Cheney 4f95fba70b Update filterMode option. Add tests for filterMode. 7 years ago
.github Add issue template 7 years ago
_data Add codepen template link 7 years ago
_includes Update filterMode option. Add tests for filterMode. 7 years ago
_layouts Move gulp tasks to separate files. Replace grid. Add autoprefixer. 8 years ago
_posts Use `_data` directory for site data. 8 years ago
_scss fix transition delay not being applied correct 8 years ago
css Updated vendor prefixes from new autoprefixer version. 7 years ago
dist Update filterMode option. Add tests for filterMode. 7 years ago
gulp Fix test task crash. 7 years ago
img Add codepen template link 7 years ago
js Correct v4 release date. 8 years ago
src Update filterMode option. Add tests for filterMode. 7 years ago
test Update filterMode option. Add tests for filterMode. 7 years ago
.babelrc Replace webpack with rollup (#138) 7 years ago
.editorconfig Add .editorconfig file. Save all files again to be consistent. 11 years ago
.eslintignore Replace JSHint and JSCS with ESLint 7 years ago
.eslintrc.js Replace JSHint and JSCS with ESLint 7 years ago
.gitignore Use `files` instead of .npmignore 8 years ago
.travis.yml Drop node 4 from Travis build matrix 7 years ago
CONTRIBUTING.md Update CONTRIBUTING.md 7 years ago
LICENSE Update license 7 years ago
README.md Update greenkeeper badge placement 7 years ago
_config.yml Add issue template 7 years ago
_config_dev.yml Update docs 8 years ago
bower.json Update docs 8 years ago
favicon.png Added favicon. Added description and image to each page for open graph and twitter cards. 11 years ago
gulpfile.js Replace JSHint and JSCS with ESLint 7 years ago
index.html Add codepen template link 7 years ago
package.json chore(package): update autoprefixer to version 7.0.1 (#144) 7 years ago

README.md

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.