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 8a4911e100 Start v6 2 years ago
.github Start v6 2 years ago
dist Start v6 2 years ago
docs Start v6 2 years ago
gulp Start v6 2 years ago
src Start v6 2 years ago
test Start v6 2 years ago
.babelrc Start v6 2 years ago
.browserslistrc Start v6 2 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 Add sortedItems prop, fix Chrome bug (#351) 3 years ago
.gitignore Add RTL feature (#337) 3 years ago
.npmrc Add npmrc file so that npm version doesn't fail. 6 years ago
.prettierignore Start v6 2 years ago
CONTRIBUTING.md Start v6 2 years ago
LICENSE Update license year 5 years ago
README.md Migrate to github actions (#378) 2 years ago
gulpfile.js Start v6 2 years ago
index.d.ts Start v6 2 years ago
jest.config.js Bump jest from 26.6.3 to 27.0.3 (#352) 3 years ago
package.json Start v6 2 years ago
prettier.config.js Start v6 2 years ago

README.md

Shuffle Build 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.