Versions Compared

Key

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

...

The widgetUniqueid option default value is null. This options allows user fetch Recommendations data.

Info

The widgetUniqueid value is updated once when the widget is initialized

  • added manually in the config

Code Block
class HawksearchVue {
    static defaultConfigconst config = {
 
      ...
      widgetUniqueid  widgetUniqueid: null"54b6a4361e1006c7",
 
      ....
};

var widget }
}
Info

The widgetUniqueid value is updated once when the widget is initialized

Usage

Widget Unique ID is a property of the Recommendation component:

Recommendation component

...

= HawksearchVue.createWidget(component, { config: hawkConfig });

HawksearchVue.initialSearch(widget);