Need help with jquery-fastLiveFilter?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

awbush
123 Stars 58 Forks BSD 2-Clause "Simplified" License 12 Commits 23 Opened issues

Description

A live filter plugin for jQuery that is built for speed and ease of use.

Services available

!
?

Need anything else?

Contributors list

# 21,605
TypeScr...
PHP
pdo
jQuery
4 commits
# 250,987
microse...
Shell
HTML
CSS
4 commits
# 232,848
Clojure
Kotlin
Shell
2 commits

What

This is a live filter plugin for jQuery that is built for speed and ease of use. It was made because existing tools were inadequate (too slow, wrong feature set). Check out the demo and comparison pages.

Usage

Include jQuery, the plugin, then initialize the plugin:


The above would work with this HTML:

  • One
  • Two
  • Three

Options

Options are given as the second argument. Synopsis:

$(INPUT_SELECTOR).fastLiveFilter(LIST_SELECTOR, options);

Available options:

  • timeout: How many milliseconds to wait after keydown before filtering the list. Default is 0.
  • callback: A callback method which will be given the number of items left in the list.
  • selector: By default, the plugin will match the filter against the text of the
    li
    . If specifed, the selector will be applied to the
    li
    and the resulting text will be used instead. WARNING: Use of complex selectors may reduce performance significantly, especially in large lists!

Example:

$('#search_input').fastLiveFilter('#search_list', {
    timeout: 200,
    callback: function(total) { $('#num_results').html(total); }
});

Problems? Want to contribute?

Report issues on github. Use pull requests to contribute code. Versioning will be done as defined by Semantic Versioning.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.