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.
Vestride_Shuffle/README.md

29 lines
787 B
Markdown

8 years ago
# [Shuffle](https://vestride.github.io/Shuffle) [![Build Status](https://travis-ci.org/Vestride/Shuffle.svg?branch=master)](https://travis-ci.org/Vestride/Shuffle)
Categorize, sort, and filter a responsive grid of items.
```bash
8 years ago
npm install shufflejs
```
8 years ago
Shuffle is also available on bower as `shufflejs`.
## Docs and Demos
8 years ago
[All found here](https://vestride.github.io/Shuffle)
8 years ago
### Usage (with CommonJS)
```js
var Shuffle = require('shuffle');
var myShuffle = new Shuffle(document.getElementById('grid'), {
itemSelector: '.js-item',
sizer: '.js-shuffle-sizer'
});
```
## Shuffle 4.0
Shuffle 4 removes jQuery as a dependency and is written in ES6.
10 years ago
## Inspiration
This project was inspired by [Isotope](http://isotope.metafizzy.co/) and [Packery](http://packery.metafizzy.co/).