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 b7a620ed59 Fix build scripts 3 years ago
.github/ISSUE_TEMPLATE Delete ISSUE_TEMPLATE.md 5 years ago
dist Fix build scripts 3 years ago
docs Fix build scripts 3 years ago
gulp Fix build scripts 3 years ago
src Add RTL feature (#337) 3 years ago
test Add missing inherited methods from TinyEmitter to type definitions. Fixes #294 5 years ago
.babelrc Fix build scripts 3 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 Add RTL feature (#337) 3 years ago
.npmrc Add npmrc file so that npm version doesn't fail. 6 years ago
.travis.yml Replace greenkeeper with dependabot 4 years ago
CONTRIBUTING.md Update release process steps 5 years ago
LICENSE Update license year 5 years ago
README.md Fix readme formatting 4 years ago
gulpfile.js Update eslint rules 5 years ago
index.d.ts Add RTL feature (#337) 3 years ago
jest.config.js Move to jest for testing (#278) 5 years ago
package.json Fix build scripts 3 years ago

README.md

Shuffle Build Status Dependency Status Dependabot Status 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.