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.
1a1fccc2b5
* Initial monorepo * Add remaining docs * updates * Change dark mode illustration logic * Drop Node 12 Docusaurus needs 14 * node 16 only? * Update build command * install jsdom manually |
2 years ago | |
---|---|---|
.. | ||
src | 2 years ago | |
test | 2 years ago | |
.babelrc | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
index.d.ts | 2 years ago | |
jest.config.js | 2 years ago | |
package.json | 2 years ago | |
rollup.config.js | 2 years 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',
});