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.
Glen Cheney acf85b9b16 update gitignore 3 days ago
.github/ISSUE_TEMPLATE Delete ISSUE_TEMPLATE.md 11 months ago
dist rebuild with new deps 3 days ago
docs rebuild with new deps 3 days ago
gulp Move to jest for testing (#278) 11 months ago
src Update eslint-config-airbnb-base to the latest version 🚀 (#293) 7 months ago
test Add missing inherited methods from TinyEmitter to type definitions. Fixes #294 7 months ago
.babelrc Move to jest for testing (#278) 11 months ago
.editorconfig Add .editorconfig file. Save all files again to be consistent. 6 years ago
.eslintignore Replace JSHint and JSCS with ESLint 3 years ago
.eslintrc.js Update eslint rules 1 year ago
.gitignore update gitignore 3 days ago
.npmrc Add npmrc file so that npm version doesn't fail. 2 years ago
.travis.yml Update to node 10 in .travis.yml (#231) 1 year ago
CONTRIBUTING.md Update release process steps 10 months ago
LICENSE Update license year 11 months ago
README.md Markdown lint 1 year ago
gulpfile.js Update eslint rules 1 year ago
index.d.ts Add missing inherited methods from TinyEmitter to type definitions. Fixes #294 7 months ago
jest.config.js Move to jest for testing (#278) 11 months ago
package.json chore(package): update rollup to version 2.2.0 (#307) 3 days 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.