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 208d5f0720 5.2.2 5 years ago
.github/ISSUE_TEMPLATE Delete ISSUE_TEMPLATE.md 5 years ago
dist Update TS definitions (#287) 5 years ago
docs Update changelog 5 years ago
gulp Move to jest for testing (#278) 5 years ago
src Update TS definitions (#287) 5 years ago
test Update TS definitions (#287) 5 years ago
.babelrc Move to jest for testing (#278) 5 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 Update eslint rules 5 years ago
.gitignore Update TS definitions (#287) 5 years ago
.npmrc Add npmrc file so that npm version doesn't fail. 6 years ago
.travis.yml Update to node 10 in .travis.yml (#231) 6 years ago
CONTRIBUTING.md Add docs for how to release a new version 5 years ago
LICENSE Update license year 5 years ago
README.md Markdown lint 5 years ago
gulpfile.js Update eslint rules 5 years ago
index.d.ts Update TS definitions (#287) 5 years ago
jest.config.js Move to jest for testing (#278) 5 years ago
package.json 5.2.2 5 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.