Skip to content
vviinn DocsDocs Beta

Selected Filters (vviinn-selected-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"

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

EventDescription
vviinnFiltersChangedThe filter's state changes
vviinnFilterTriggered—

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

PartDescription
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-sub-rowRow of the sub filters.
selected-filters-listList of selected filters.

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

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