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 6bdc0491a9 Add ES6/7 env note. Remove references to bower.
Remove `--save` from npm install because npm@5 saves automatically.
7 years ago
.github Add issue template 7 years ago
_data Add codepen template link 7 years ago
_includes Add ES6/7 env note. Remove references to bower. 7 years ago
_layouts Move gulp tasks to separate files. Replace grid. Add autoprefixer. 8 years ago
_posts Update requirejs version. 7 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 Use TinyEmitter, expect ES6 environment. Change global export to `Shuffle`. 7 years ago
gulp Use TinyEmitter, expect ES6 environment. Change global export to `Shuffle`. 7 years ago
img Add codepen template link 7 years ago
js Update requirejs version. 7 years ago
src Use TinyEmitter, expect ES6 environment. Change global export to `Shuffle`. 7 years ago
test Use TinyEmitter, expect ES6 environment. Change global export to `Shuffle`. 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 Add ES6/7 env note. Remove references to bower. 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 ES6/7 env note. Remove references to bower. 7 years ago
_config.yml Add ES6/7 env note. Remove references to bower. 7 years ago
_config_dev.yml 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 ES6/7 env note. Remove references to bower. 7 years ago
package-lock.json Use TinyEmitter, expect ES6 environment. Change global export to `Shuffle`. 7 years ago
package.json Use TinyEmitter, expect ES6 environment. Change global export to `Shuffle`. 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 myShuffle = new Shuffle(document.getElementById('grid'), {
  itemSelector: '.js-item',
  sizer: '.js-shuffle-sizer'
});

Inspiration

This project was inspired by Isotope and Packery.