|
3 months ago | |
---|---|---|
.github/ISSUE_TEMPLATE | 1 year ago | |
dist | 11 months ago | |
docs | 11 months ago | |
gulp | 1 year ago | |
src | 1 year ago | |
test | 1 year ago | |
.babelrc | 1 year ago | |
.editorconfig | 7 years ago | |
.eslintignore | 3 years ago | |
.eslintrc.js | 2 years ago | |
.gitignore | 11 months ago | |
.npmrc | 3 years ago | |
.travis.yml | 7 months ago | |
CONTRIBUTING.md | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 7 months ago | |
gulpfile.js | 2 years ago | |
index.d.ts | 1 year ago | |
jest.config.js | 1 year ago | |
package.json | 3 months ago |
Categorize, sort, and filter a responsive grid of items.
npm install shufflejs
import Shuffle from 'shufflejs';
const shuffleInstance = new Shuffle(document.getElementById('grid'), {
itemSelector: '.js-item',
sizer: '.js-shuffle-sizer',
});