Coveo SimpleFilter Component (CoveoSimpleFilter)

Index

Methods

closeContainer

  • closeContainer(): void

debugInfo

  • debugInfo(): any

deselectValue

  • deselectValue(value: string): void

disable

  • disable(): void

enable

  • enable(): void

getBindings

getSelectedCaptions

  • getSelectedCaptions(): string[]

getValueCaption

  • getValueCaption(value: string): string

getValueContainer

  • getValueContainer(): Dom

openContainer

  • openContainer(): void

resetSimpleFilter

  • resetSimpleFilter(): void

selectValue

  • selectValue(value: string, triggerQuery?: boolean): void

toggleContainer

  • toggleContainer(): void

toggleValue

  • toggleValue(value: string): void

Static get

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

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

enableClearButton

enableClearButton: boolean
Markup configuration example(s) :
data-enable-clear-button='true'
data-enable-clear-button='false'

field

Markup configuration example(s) :
data-field='@foo'

maximumNumberOfValues

maximumNumberOfValues: number
Markup configuration example(s) :
data-maximum-number-of-values='10'

sortCriteria

sortCriteria: "occurrences" | "score" | "alphaascending" | "alphadescending" | "computedfieldascending" | "computedfielddescending" | "chisquare" | "nosort"

title

title: string
Markup configuration example(s) :
data-title='foo'

valueCaption

valueCaption: any

values

values: string[]

Constructors

constructor