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 8962f8087b
Move to jest for testing (#278)
* chore(package): update core-js to version 3.0.1

Closes #275

* move to jest
5 years ago
.github Add issue template 7 years ago
dist Move to jest for testing (#278) 5 years ago
docs Move to jest for testing (#278) 5 years ago
gulp Move to jest for testing (#278) 5 years ago
src Move to jest for testing (#278) 5 years ago
test Move to jest for testing (#278) 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 Add es module file. 6 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. 6 years ago
README.md Markdown lint 5 years ago
gulpfile.js Update eslint rules 5 years ago
index.d.ts Change typings to use default export #214 5 years ago
jest.config.js Move to jest for testing (#278) 5 years ago
package.json Move to jest for testing (#278) 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.