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.
7f695c09c0
Rollup v3, TS, turborepo, prettier, eslint plugins, preset-env |
1 year ago | |
---|---|---|
.github | 2 years ago | |
apps/website | 1 year ago | |
packages/shuffle | 1 year ago | |
.browserslistrc | 2 years ago | |
.eslintignore | 7 years ago | |
.eslintrc.js | 2 years ago | |
.gitignore | 2 years ago | |
.node-version | 2 years ago | |
.prettierignore | 2 years ago | |
CONTRIBUTING.md | 2 years ago | |
README.md | 2 years ago | |
package.json | 1 year ago | |
prettier.config.js | 2 years ago | |
turbo.json | 2 years ago | |
yarn.lock | 1 year ago |
README.md
Shuffle
Categorize, sort, and filter a responsive grid of items.
npm install shufflejs
Docs and Demos
Usage (with ES6)
import Shuffle from 'shufflejs';
const shuffleInstance = new Shuffle(document.getElementById('grid'), {
itemSelector: '.js-item',
sizer: '.js-shuffle-sizer',
});