HistoryActions (Deprecated)

This is for:

Developer
Warning

Headless v1 has been deprecated. We recommend using the latest version of the Coveo Headless library.

The history action creators.

Loader Function

loadHistoryActions

Loads the history reducer and returns possible action creators.

Parameters

  • engine: SearchEngine

    The headless engine.

Returns HistoryActionCreators: The history action creators.

HistoryActionCreators

back

Moves backward in the interface history.

Returns AsyncThunkAction<void, void, {}>: A dispatchable action.

forward

Moves forward in the interface history.

Returns AsyncThunkAction<void, void, {}>: A dispatchable action.