ListJs

Component ID

2690611

Component name

ListJs

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1532

Component created

Component changed

Component body

Travis CI build status

This module adds fast fuzzy search to views lists, search facets lists, or any HTML list. The module uses List.js library to add search to lists. List.js is a native JavaScript library, therefore jQuery is not required. List.js is a tiny, invisible and simple, yet powerful and incredibly fast vanilla JavaScript library that adds search and flexibility to plain HTML lists.

7. x Features:

  • Provides a theme function which will create sortable lists.
  • List.js widget for Views.
  • ListJs facet widget, so that you can search among facet items.

8. x Features:

  • Provides a theme function which will create sortable lists.
  • List.js widget for Views.
  • ListJs facet widget, so that you can search among facet items. (Coming soon)

7.x Installation:

  • Download list.js (1.2 version) library
  • Extract the library inside /sites/all/libraries
  • Make sure list.min.js is located inside /sites/all/libraries/listjs/dist, i.e. path of list.min.js should be /sites/all/libraries/listjs/dist/list.min.js

8.x Installation:

  • Download list.js (1.2 version) library
  • Extract the library inside /libraries. Create /libraries directory if not present.
  • Make sure list.min.js is located inside /libraries/listjs/dist, i.e. path of list.min.js should be /libraries/listjs/dist/list.min.js

7.x Dependencies:

8.x Dependencies:

As independent as you are.

Documentation:

Test framework:

  • 7.x version uses Behat
  • 8.x version uses Drupal PHPUnit JavaScript

Credits:

Thanks to Jonny Strömberg for his awesome plugin.