Collapses the facet, displaying only its currently selected values.
Return the debug info about this component.
Deselects multiple values in this facet.
Does not trigger a query automatically. Does not update the visual of the facet until a query is performed.
The names of the facet values to deselect.
Deselects a single value in this facet.
Does not trigger a query automatically. Does not update the visual of the facet until a query is performed.
Disable the component. Normally this means that the component will not execute handlers for the framework events (query events, for example). Components are enabled by default on creation.
Enable the component. Normally this means that the component will execute handlers for the framework events (query events, for example). Components are enabled by default on creation.
Sets a flag indicating whether the facet values should be returned in their current order.
Setting the flag to true
helps ensuring that the values do not move around while the end-user is interacting with them.
The flag is automatically set back to false
after a query is built.
For this method to work, the component has to be the child of a DynamicFacetManager component.
Sets a flag indicating whether the facets should be returned in their current order.
Setting the flag to true
helps ensuring that the facets do not move around while the end-user is interacting with them.
The flag is automatically set back to false
after a query is built.
Expands the facet, displaying all of its currently fetched values.
Keyboard focuses a value once it has been re-rendered.
The name of the facet value to focus
Return the bindings, or environment, for the current component.
Returns the configured caption for a desired facet value.
The string facet value whose caption the method should return.
Determines whether the specified value is selected in the facet.
The name of the facet value to verify.
Deselects all values in this facet.
Does not trigger a query automatically. Updates the visual of the facet.
Selects multiple values in this facet.
Does not trigger a query automatically. Does not update the visual of the facet until a query is performed.
The names of the facet values to select.
Selects a single value in this facet.
Does not trigger a query automatically. Does not update the visual of the facet until a query is performed.
The name of the facet value to select.
Reduces the number of displayed facet values down to numberOfValues.
Automatically triggers an isolated query.
Requests additional values.
Automatically triggers an isolated query.
The number of additional values to request. Minimum value is 1. Defaults to the numberOfValues option value.
Collapses or expands the facet depending on it's current state.
Toggles the selection state of a single value in this facet.
Does not trigger a query automatically.
Get the bound component to the given HTMLElement. Throws an assert if the HTMLElement has no component bound, unless using the noThrow argument.
If there is multiple component bound to the current HTMLElement, you must specify the component class.
HTMLElement for which to get the bound component.
Optional component class. If the HTMLElement has multiple components bound, you must specify which one you are targeting.
Boolean option to tell the method to not throw on error.
Allows the component to bind events and execute them only when it is enabled.
Contains the state of options for different components. Mainly used by ResultLink.
Contains the state of different components (enabled vs disabled). Allows to get/set values. Triggers component state event when modified. Each component can listen to those events.
A disabled component will not participate in the query, or listen to ComponentEvents.
Allows component to log in the dev console.
Contains the singleton that allows to trigger queries.
Contains the state of the query. Allows to get/set values. Trigger query state event when modified. Each component can listen to those events.
A reference to the root HTMLElement (the SearchInterface).
A reference to the root of every component, the SearchInterface.
The static ID that each component needs in order to be identified.
For example, SearchButton -> static ID: SearchButton -> className: CoveoSearchButton
A reference to the Analytics.client.
The currency symbol to use if the valueFormat
is currency
.
By default, the component uses the currency associated with the currently loaded culture file (see Changing the Language of Your Search Interface).
data-currency-symbol='foo'
The number of decimals to display when the valueFormat
is number
By default, the number of decimals is what's returned by the index.
data-number-of-decimals='2'
The list of range values to request (see Requesting Specific FacetRange Values).
This value will override the numberOfValues
value.
If this option is not defined, the index will try to generate automatic ranges.
The sort order to use for this facet.
Can be either ascending
or descending
.
Default: ascending
.
The string format to apply to the minimum and maximum value of each range displayed in the facet.
See DynamicFacetRangeValueFormat
for the list and
description of allowed formats.
Default: If the field
contains "date", the format will be date
.
Else, it will be number
.
data-value-format='date'
The label to insert between the minimum and maximum value of each range displayed in the facet.
Default: The localized string for to
.
data-value-separator='until' data-value-separator='up to'
Creates a new DynamicFacetRange
instance.
The element from which to instantiate the component.
The component options.
The component bindings. Automatically resolved by default.
A
DynamicFacetRange
is a facet whose values are expressed as ranges.You must set the
field
option to a value targeting a numeric or date field in your index for this component to work.This component extends the
DynamicFacet
component and supports allDynamicFacet
options except:enableFacetSearch
useLeadingWildcardInFacetSearch
enableMoreLess
valueCaption
Coveo for Salesforce Free
October 2019 Release (v2.7219)