@elemental/ui / Class

LmnFilterSingleSelectionComponent

Decorators:@Component
Generic types:SelectionValueType
Selectors:lmn-filter-single-selection
Extends:LmnFilter<SelectionValueType>

No documentation has been provided.

Properties

NameTypeDescription
filterId
r
implements LmnFilter
InputSignal<string>

The id of the filter. @required

inputRadioName
r
InputSignal<string>

The name of the input radio. @required

items
r
InputSignal<LmnFilterSelectionItem<SelectionValueType>[]>

The items of the filter.

nativeElement
r
HTMLElement

The native element of the filter.

negative
r
InputSignalWithTransform<boolean, unknown>

Whether the filter is negative.

radioGroupConfiguration
r
InputSignal<LmnFilterSingleSelectionRadioGroupConfiguration | undefined>

The radio group configuration.

selectedValues
r
implements LmnFilter
Signal<SelectionValueType | undefined>

The selected values of the filter. @warning You must use this property AFTER the component is initialized by positioning it in the template after the component declaration. 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
implements LmnFilter
OutputRef<SelectionValueType | undefined>

The selected values change of the filter.

Methods

clear()

implements LmnFilter

Clear the selected values.

Presentation
clear(value?: SelectionValueType | undefined): void;
Parameters
NameTypeDescription
value
inherited from clear
SelectionValueType | undefined
Returns
void
Overload #1

Clears the filter.

Presentation
clear(): void;
Returns
void
Overload #2

No documentation has been provided.

Presentation
clear(value?: SelectionValueType | undefined): void;
Parameters
NameTypeDescription
value
SelectionValueType | undefined
Returns
void

selectValues()

implements LmnFilter

Selects the value of the filter.

Presentation
selectValues(value: SelectionValueType | undefined): void;
Parameters
NameTypeDescription
value
SelectionValueType | undefined

@param value - The value to select.

Returns
void