Skip to main content

CaFilterMulti

Multi choice filter

SASS-path: ./styles/components/molecules/ca-filter-multi.scss

Props

NameDescriptionTypeRequiredDefault
valuesThe selectable valuesArraytrue-
selectionThe current selectionArraytrue-
hideValuesOption to hide valuesBooleanfalsefalse

Events

Event NameDescriptionParameters
selectionchangeThe selection has changedUpdated selection (Array)

Methods

MethodDescriptionParameters
sortByOrderOrders the data by its order propdata (Array)
toggleFilterValueToggle the value of a filter and emit the updated selectionfilter (Object) and selected (Boolean)