Filters /

JavaScript Functions

The following JavaScript functions are available when using the Filters add-on:


almfilters.start()

The almfilters.start(target) function will initiate an Ajax Load More filter instance.

  • target: The unique filter ID (optional).
Note: start() is useful if filters have been loaded via Ajax or another non server-side render method.


almfilters.reset()

The almfilters.reset() function will clear and reset an entire Ajax Load More filter instance.


almfilters.resetFilter()

The almfilters.resetFilter() function will clear and reset a specific filter group.

Note: resetFilter is useful if you want to clear a specific filter while performing a specific task.


« Back to Filters