Result Item

 

resultItem

Options

titleField

  • default value 'itemname'

linkField

  • default value 'url'

thumbField

  • default value 'thumb'

itemSelect

  • default value 'true'

langIndiffFields

  • default value - empty array [].This is an array with fields that don’t need suffix for language.

    const config = { ... resultItem: { titleField: 'itemname', linkField: 'pageurl', thumbField: 'thumb', itemSelect: false, langIndiffFields: [ 0:"pageurl" ] }, ... }; var widget = HawksearchVue.createWidget(component, { config: config}); HawksearchVue.initialSearch(widget);