Skip to content
vviinn DocsDocs Beta

Extended Filters (vviinn-extended-filters)

Generated from vviinn-widgets 2.228.0, the latest release when these docs were built. If you pin an older version, some of these may not be in it yet — check the Changelog.

Set them as HTML attributes.

currency-sign

The currency sign displayed after price values

Type: string

locale

Locale for text localization

Type: "de-DE" | "en-US"

mode

Type: "button" | "modal" | "preview" | "preview-inline" · Default: "button"

search-threshold

Minimum number of filter options required to show search bar in preview-inline mode. Set to 0 to always show, or a high number to never show.

Type: number · Default: 0

show-header

Type: boolean · Default: true

show-interval-inputs

Show editable input fields in interval filters instead of readonly labels

Type: boolean · Default: false

Listen with document.addEventListener(). The pages under Events describe the data each event carries.

EventDescription
vviinnFiltersChangedThe filter's state changes
vviinnFilterTriggered—

Replace texts and icons with your own content: Replace Widget Content.

SlotDescription
vviinn-extended-filters-applyTitle of Apply Button.
vviinn-extended-filters-no-filtersMessage shown when no filters are available.
vviinn-extended-filters-resetTitle of Reset Button.
vviinn-extended-filters-titleText on widget's header.
vviinn-filters-search-iconCustom icon for the search input.
vviinn-range-filter-from-labelLabel text for the "From" input field in range filters.
vviinn-range-filter-to-labelLabel text for the "To" input field in range filters.

Style these elements with vviinn-extended-filters::part(name): Styling Specific Elements.

PartDescription
extended-filters-actionsWrapper for the actions.
extended-filters-applyApply button.
extended-filters-headerHeader of the modal.
extended-filters-listList of filters.
extended-filters-mainWrapper for the main modal content.
extended-filters-main-buttonMain button of the row.
extended-filters-modalModal itself.
extended-filters-modal-closeClose button of the modal.
extended-filters-modal-wrapperWrapper for the modal.
extended-filters-no-filtersNo filters message container.
extended-filters-resetReset button.
extended-filters-rowRow of the filters.
extended-filters-row-wrapperWrapper for the row.
extended-filters-selected-wrapperWrapper for the selected options.
extended-filters-sub-listList of sub filters.
extended-filters-titleTitle heading (h2) of the modal.
filters-option-buttonButton of the sub filter.
filters-option-color-dotColor Dot of the sub filter.
filters-option-icon-wrapperIcon Wrapper of the sub filter.
filters-option-imageImage of the sub filter.
filters-option-textText of the sub filter.
filters-search-containerContainer wrapping search input and filter list.
filters-search-iconIcon wrapper for the search input.
filters-search-inputSearch input field.
filters-search-input-containerContainer for the search input with icon.
filters-sub-rowRow of the sub filters.
histogramWrapper itself.
histogram-barBar of the histogram.
histogram-from-inputInput field for the minimum value.
histogram-from-sliderSlider for the minimum value.
histogram-input-containerContainer for the input field (when showIntervalInputs is true).
histogram-input-labelLabel text for the input (From/Till).
histogram-labelLabel for the histogram (when showIntervalInputs is false).
histogram-label-wrapperWrapper for the labels/inputs.
histogram-range-containerContainer for the range sliders.
histogram-sliders-controlContainer for the range sliders control.
histogram-to-inputInput field for the maximum value.
histogram-to-sliderSlider for the maximum value.

Set them on vviinn-extended-filters or a parent element: CSS Variables.

PropertyDescription
--font-familyThe font family of the filters.