Coveo Badge Component (CoveoBadge)

Index

Methods

debugInfo

  • debugInfo(): any

disable

  • disable(): void

enable

  • enable(): void

getBindings

getColor

  • getColor(value?: string): IBadgeColor
  • Parameters

    • Default value value: string = ""

    Returns IBadgeColor

    An object with the icon and text keys.

getValue

  • getValue(): any

renderOneValue

  • renderOneValue(value: string): HTMLElement

Static get

  • get(element: HTMLElement, componentClass?: any, noThrow?: boolean): BaseComponent

Static parseColors

Properties

bind

componentOptionsModel

componentOptionsModel: ComponentOptionsModel

componentStateModel

componentStateModel: ComponentStateModel

disabled

disabled: boolean

logger

logger: Logger

queryController

queryController: QueryController

queryStateModel

queryStateModel: QueryStateModel

root

root: HTMLElement

searchInterface

searchInterface: SearchInterface

Static ID

ID: string

Accessors

usageAnalytics

usageAnalytics:

Component Options

colors

colors: IBadgeColors

Constructors

constructor

Implements