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.
3b9e140a53
This is done with the new `isHidden` property of ShuffleItem which is set by `_layout` and `_shrink` because the filter methods set `isVisible`. Allow transitions on anything, not just transform and opacity. JSDoc `Function` => `function`. |
7 years ago | |
---|---|---|
.github | 7 years ago | |
_data | 7 years ago | |
_includes | 7 years ago | |
_layouts | 7 years ago | |
_posts | 7 years ago | |
_scss | 8 years ago | |
css | 7 years ago | |
dist | 7 years ago | |
gulp | 7 years ago | |
img | 7 years ago | |
js | 7 years ago | |
src | 7 years ago | |
test | 7 years ago | |
.babelrc | 7 years ago | |
.editorconfig | 11 years ago | |
.eslintignore | 7 years ago | |
.eslintrc.js | 7 years ago | |
.gitignore | 7 years ago | |
.travis.yml | 7 years ago | |
CONTRIBUTING.md | 7 years ago | |
LICENSE | 7 years ago | |
README.md | 7 years ago | |
_config.yml | 7 years ago | |
_config_dev.yml | 8 years ago | |
favicon.png | 11 years ago | |
gulpfile.js | 7 years ago | |
index.d.ts | 7 years ago | |
index.html | 7 years ago | |
package.json | 7 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 myShuffle = new Shuffle(document.getElementById('grid'), {
itemSelector: '.js-item',
sizer: '.js-shuffle-sizer'
});