Filters /

Callback Functions

A JavaScript callback is a function which is executed after another function has finished execution. The Ajax Load More Filters add-on dispatches callbacks at various stages of the filtering process that allow you to trigger custom functions based on the events.

To utilize the following callback functions, copy and paste a code example below into your sites JavaScript file.


almFiltersActive()

The almFiltersActive() callback function is dispatched after a filter submit action and returns an object containing the key/value pair combinations of active filters.


almFiltersChange()

The almFiltersChange() callback function is dispatched when a filter change event is triggered.


almFiltersComplete()

The almFiltersComplete() callback function is dispatched after the filter process has completed.


almFiltersURLUpdate()

The almFiltersURLUpdate() callback function is dispatched after the browser URL has been updated.


almFiltersFormatRangeValues()

The almFiltersFormatRangeValues() callback function provides a method to format the display labels for the start and end value of the Range Slider field type.


« Back to Filters