• Preparing search index...
  • The search index is not available
@coveo/headless
  • @coveo/headless
  • Search
  • HighlightUtils
  • getHighlightedSuggestion

Function getHighlightedSuggestion

  • getHighlightedSuggestion(suggestion, options): string
  • Highlight a suggestion with the given delimiters.

    Parameters

    • suggestion: string

      The suggestion to highlight

    • options: SuggestionHighlightingOptions

      The object contaning the delimiters used

    Returns string

    • Defined in packages/headless/src/utils/highlight.ts:110

Settings

Member Visibility
@coveo/headless
  • Loading...

Generated using TypeDoc