Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

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