@elemental/ui / Class

LmnFilterContainerDirective

Decorators:@Directive
Selectors:[lmnFilterContainer]

A directive that allows you to group filters together.

Properties

NameTypeDescription
groupName
r
InputSignal<string>

The name of the group of filters. This name is used to register the filters in the filter service.

selectedValues
r
Signal<Record<string, unknown>>

The selected values of all filters in the group. @warning You must use this property AFTER the directive is initialized by positioning it in the template after the directive. If you need to print the selected values before, use the output selectedValuesChange to capture the changes and store the values in a our property.

selectedValuesChange
r
OutputRef<Record<string, unknown>>

Emits every times that the selected values change in any filters of group.

Methods

clearAll()

Clear all filters in the group.

Presentation
clearAll(): void;
Returns
void