...
Code Block | ||
---|---|---|
| ||
{ id: string; field: string | undefined; startValue: number; endValue: number; minValue: number; maxValue: number; sliderMinsliderStart: number; sliderMaxsliderEnd: number; } |
Info |
---|
|
...
Attribute Name | Attribute Value |
---|---|
hawksearch-minstart | |
hawksearch-maxend |
These attributes should be placed on a number input elements. When these elements lose focus (blurred), the entered price range will be applied as a facet value.
...
Code Block | ||||
---|---|---|---|---|
| ||||
<div class='"range-slider-facet'"> <div class='"row'"> <div class='"column column--6'"> <input type='"number'" hawksearch-minstart value='"{{startValue}}" min="{{minValue}}'" max="{{endValue}}" aria-label="Minimum Price" /> </div> <div class='"column column--6'"> <input type='"number'" hawksearch-maxend value='"{{endValue}}" min="{{startValue}}" max="{{maxValue}}'" aria-label="Maximum Price" /> </div> </div> <hawksearch-range-slider minstart='"{{sliderMinsliderStart}}'" maxend="{{sliderMaxsliderEnd}}"></hawksearch-range-slider> </div> |
...