Website URL
wbesiteUrl
The wbesiteUrl
default value is location.origin
. This option helps HawksearchVue to get the absolute URL of the page.
const config = {
...
wbesiteUrl: location.origin
...
};
var widget = HawksearchVue.createWidget(component, { config: config });
HawksearchVue.initialSearch(widget);
Usage
Banner Image component - If the banner is selected redirects to the the specified page URL
Recommendations Item and Result Item components - If an item is selected the formed link is assigned to the item and redirects the Document to the specified page.
Â