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.
Glen Cheney 7ab9d95dc8
Fix homepage demo
2 months ago
.github/ISSUE_TEMPLATE Delete ISSUE_TEMPLATE.md 4 months ago
dist Update TS definitions (#287) 2 months ago
docs Fix homepage demo 2 months ago
gulp Move to jest for testing (#278) 4 months ago
src Update TS definitions (#287) 2 months ago
test Update TS definitions (#287) 2 months ago
.babelrc Move to jest for testing (#278) 4 months ago
.editorconfig Add .editorconfig file. Save all files again to be consistent. 6 years ago
.eslintignore Replace JSHint and JSCS with ESLint 2 years ago
.eslintrc.js Update eslint rules 8 months ago
.gitignore Update TS definitions (#287) 2 months ago
.npmrc Add npmrc file so that npm version doesn't fail. 1 year ago
.travis.yml Update to node 10 in .travis.yml (#231) 1 year ago
CONTRIBUTING.md Update release process steps 2 months ago
LICENSE Update license year 4 months ago
README.md Markdown lint 8 months ago
gulpfile.js Update eslint rules 8 months ago
index.d.ts Update TS definitions (#287) 2 months ago
jest.config.js Move to jest for testing (#278) 4 months ago
package.json chore(package): update eslint to version 6.0.0 (#290) 2 months 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.