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 f93febb8cc 5.0.0 7 years ago
.github Add issue template 7 years ago
dist Fix incorrect visible item count after `resetItems()` 7 years ago
docs Remove whitespace control tags. 7 years ago
gulp Remove symlink. GH pages can't build with it. 7 years ago
src Fix incorrect visible item count after `resetItems()` 7 years ago
test Add typings file. 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 Remove lockfile. 7 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 Add "Filters" section. 7 years ago
gulpfile.js Remove symlink. GH pages can't build with it. 7 years ago
index.d.ts Avoid requirement for scale properties being different. 7 years ago
package.json 5.0.0 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

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.