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.
 
 
dependabot[bot] 76072865e8
Bump jest from 27.5.1 to 28.1.0
2 weeks ago
.github Start v6 4 months ago
docs Fix issue Already clicked sort input is not working on Firefox refresh #376 3 months ago
gulp Start v6 4 months ago
src Use `dataset.foo` intead of `getAttribute('data-foo') 3 months ago
test Use `dataset.foo` intead of `getAttribute('data-foo') 3 months ago
.babelrc Start v6 4 months ago
.browserslistrc Start v6 4 months ago
.editorconfig Add .editorconfig file. Save all files again to be consistent. 9 years ago
.eslintignore Replace JSHint and JSCS with ESLint 5 years ago
.eslintrc.js Add sortedItems prop, fix Chrome bug (#351) 12 months ago
.gitignore Replace window resize event with ResizeObserver. 3 months ago
.npmrc Add npmrc file so that npm version doesn't fail. 4 years ago
.prettierignore Start v6 4 months ago
CONTRIBUTING.md Start v6 4 months ago
LICENSE Update license year 3 years ago
README.md Migrate to github actions (#378) 4 months ago
gulpfile.js Start v6 4 months ago
index.d.ts Replace window resize event with ResizeObserver. 3 months ago
jest.config.js Bump jest from 26.6.3 to 27.0.3 (#352) 12 months ago
package.json Bump jest from 27.5.1 to 28.1.0 2 weeks ago
prettier.config.js Start v6 4 months 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.