https://github.com/rmm5t/jquery-sieve
:potable_water: Sieve is a jQuery plugin allows you to quickly add an interactive search filter to any block of content.
https://github.com/rmm5t/jquery-sieve
filter jquery sieve
Last synced: 16 days ago
JSON representation
:potable_water: Sieve is a jQuery plugin allows you to quickly add an interactive search filter to any block of content.
- Host: GitHub
- URL: https://github.com/rmm5t/jquery-sieve
- Owner: rmm5t
- License: mit
- Created: 2013-02-24T23:13:04.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-06-17T02:18:12.000Z (almost 5 years ago)
- Last Synced: 2025-04-15T00:51:50.476Z (17 days ago)
- Topics: filter, jquery, sieve
- Language: HTML
- Homepage: http://rmm5t.github.io/jquery-sieve/
- Size: 84 KB
- Stars: 153
- Watchers: 16
- Forks: 23
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE-MIT
Awesome Lists containing this project
README
# Sieve jQuery Plugin
Sieve allows you to quickly add an interactive search filter to any block of content.
[**View the Demo**](http://rmm5t.github.io/jquery-sieve/)
## Usage
In the simplest case, you can add a search filter to any table. By default,
this example will filter all rows in the `` section of a ``.```javascript
$(document).ready(function() {
$("table.sieve").sieve();
});
```To filter a list of paragraphs, override the `itemSelector` option. This
example will filter all `` elements within the ``
container.```javascript
$(document).ready(function() {
$("section.sieve").sieve({ itemSelector: "p" });
});
```In either case, Sieve will insert a search box before the content container and act as an interactive search filter for the content.
## Contributing
See the [**contributing guidelines**](CONTRIBUTING.md).
## Author
[Ryan McGeary](http://ryan.mcgeary.org) ([@rmm5t](http://twitter.com/rmm5t))
## License
[MIT License](https://rmm5t.mit-license.org/)