Skip to content

ConstraintsBar

Overview

The active list-constraints band: one strip that hosts the filter chips and the sort chips on a single line, separated by a hairline divider. Filters and sorts are told apart by their own tint (primary for filters, neutral for sorts), so the band reads as two grouped categories rather than one undifferentiated pile. Each group owns its own clear control.

Presentational only: the host supplies the two chip groups via the filters and sort slots and tells the band which groups are active. The band collapses (height 0) when nothing is active, so an unconstrained list spends no vertical chrome. The chip groups stay mounted (the band is clipped, not unmounted) so their toolbar triggers keep working while the band is collapsed.

Theme entry: ConstraintsBar

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
filtersActivebooleanfalseTrue when one or more filters are active; drives the filters group, the divider, and band visibility.
sortsActivebooleanfalseTrue when one or more sort fields are active; drives the sort group, the divider, and band visibility.

Slots

NameScopedDescription
filtersThe filter chips group (FilterGroup in hosted mode).
sortThe sort chips group (SortGroup in hosted mode).

Full slot reference

Source

client/lib/display/constraints-bar/ConstraintsBar.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2