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.
f0e77074da | 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',
});