ListJs views style plugin
ListJs facet widget

This module uses the List.js library to add search,
sort, filters, etc. to lists. List.js is a tiny, invisible and simple, yet
powerful and incredibly fast vanilla JavaScript that adds search, sort, filters
and flexibility to plain HTML lists, tables, or anything.

Features:

  • Basically provides the listjs Library you can use in your custom / contrib module or theme
  • Provides a theme function which will create filterable and sortable lists.
  • Add fast search to Views lists.

Requirements

This module requires the following javascript library:

JS-Library installation:

  1. Enable usage of third-party libraries using composer, see here for an explanation.
  2. Require the list.js library using "composer require bower-asset/listjs"

Manual installation

  1. Download the List.js plugin
  2. Extract the archive and place the listjs directory in the "libraries" directory on your server.

Module installation

Install as you would normally install a contributed Drupal module. For further
information, see
Installing Drupal Modules.

Documentation:

Maintainers

Supporting organizations: 
helped in initial module development
sponsored the initial development of 8.x version
proudly helped to improve the Drupal 9+ version of this module for the community

Project information

Releases