Searchstax-SearchOverviewWidget for React and Next.js
The SearchStax Site Search solution offers a search-overview widget to assist with your React and Next.js search pages.
The SearchstaxOverviewWidget
displays search feedback and stats.
Usage
Import the component:
import { SearchstaxSearchFeedbackWidget } from '@searchstax-inc/searchstudio-ux-angular';
Add to template:
<app-searchstax-search-feedback></app-searchstax-search-feedback>
Inputs
- templateOverride: TemplateRef to override default feedback UI.
Properties
- searchFeedbackData: Object containing feedback data like result count, search term etc.
- context: Component instance reference.
Methods
- onOriginalQuery(): Handles click on original misspelled query.
- attachObservables(): Subscribes to search data observables.
Template Binding Properties
The templateOverrides provides:
- searchFeedbackData: Feedback data object.
- onOriginalQueryClick: Handles click on original query.
- context: Component instance context.
See Example of Search Overview Widget for Angular
Questions?
Do not hesitate to contact the SearchStax Support Desk.