The SearchStax Site Search Feedback Widget displays search feedback and stats for UX-JS.
Usage
searchstax.addSearchFeedbackWidget("search-feedback-container", {});
You can configure each instance separately through its options object. You can add the widget to different locations on the page as needed.
Multiple Instances
Call the addSearchFeedbackWidget method multiple times with different target containers. This lets you add multiple instances of the SearchFeedback widget:
searchstax.addSearchFeedbackWidget('container1', options1);
searchstax.addSearchFeedbackWidget('container2', options2);
Props
-
templates– see examples at searchstax-ux-js.
Example
See the full example at searchstax-ux-js.