You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
greenkeeper[bot] 1aabb4ac24 Update eslint-config-airbnb-base to the latest version 🚀 (#293) 1 month ago
.github/ISSUE_TEMPLATE Delete ISSUE_TEMPLATE.md 6 months ago
dist Update eslint-config-airbnb-base to the latest version 🚀 (#293) 1 month ago
docs Update eslint-config-airbnb-base to the latest version 🚀 (#293) 1 month ago
gulp Move to jest for testing (#278) 6 months ago
src Update eslint-config-airbnb-base to the latest version 🚀 (#293) 1 month ago
test Add missing inherited methods from TinyEmitter to type definitions. Fixes #294 1 month ago
.babelrc Move to jest for testing (#278) 6 months ago
.editorconfig Add .editorconfig file. Save all files again to be consistent. 6 years ago
.eslintignore Replace JSHint and JSCS with ESLint 2 years ago
.eslintrc.js Update eslint rules 10 months ago
.gitignore Update TS definitions (#287) 4 months ago
.npmrc Add npmrc file so that npm version doesn't fail. 1 year ago
.travis.yml Update to node 10 in .travis.yml (#231) 1 year ago
CONTRIBUTING.md Update release process steps 4 months ago
LICENSE Update license year 6 months ago
README.md Markdown lint 10 months ago
gulpfile.js Update eslint rules 10 months ago
index.d.ts Add missing inherited methods from TinyEmitter to type definitions. Fixes #294 1 month ago
jest.config.js Move to jest for testing (#278) 6 months ago
package.json Update eslint-config-airbnb-base to the latest version 🚀 (#293) 1 month 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.