Search Config

searchConfig

Options

scrollUpOnRefresh

The default value of scrollUpOnRefresh is true. When enabled this option scroll the page to it’s top when page is refreshed.

false

  • change field value:

    const config = { ... searchConfig : { scrollUpOnRefresh: false }, ... }; var widget = HawksearchVue.createWidget(component, { config: config}); HawksearchVue.initialSearch(widget);