This 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.
- Provides a theme function which will create sortable lists.
- Add fast search to Views lists.
ListJs facet widget, so that you can search among facet items.
- Download list.js v1.2 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 oflist.min.js
should be/libraries/listjs/dist/list.min.js
.
7.x
version uses Behat tests.8.x
version uses Drupal PHPUnit JavaScript tests.