src/lib/filter-toolbar/filter-toolbar.component.ts
FilterToolbar is used to display the filter toolbar in the inbox toolbar.
Example :<talenra-filter-toolbar [scrollBarShadow]="headerHidden()" [searchedAndFilteredDataItems]="filteredDataItems" />
| selector | talenra-filter-toolbar |
| imports |
ReactiveFormsModule
SearchFieldComponent
SearchInputComponent
IconFiltersComponent
TalenraInboxTranslatePipe
|
| styleUrls | ./filter-toolbar.component.scss |
| templateUrl | ./filter-toolbar.component.html |
Properties |
Methods |
Inputs |
Outputs |
| iconFilters |
Type : IIconInput[]
|
Default value : []
|
|
List of given IconFilters. |
| iconFilters |
Type : IIconInput[]
|
|
List of given IconFilters. |
| handlePresetGroupsForFilterToolbar | ||||||||||||||||
handlePresetGroupsForFilterToolbar(groupName: string, presetName: string, presetIdentifier: string)
|
||||||||||||||||
|
Function to handle the preset groups for the filter toolbar.
Parameters :
Returns :
void
|
| Optional currentPresetName |
Type : [string, string, string]
|
|
The active preset name. Used to check if the current preset is the same as the new preset. If not, the filters and buffer are reset. |
| filterState |
Type : unknown
|
Default value : inject(FilterStateService)
|
| filterToolbarService |
Type : unknown
|
Default value : inject(FilterToolbarService)
|
|
The used service. |
| inboxState |
Type : unknown
|
Default value : inject(InboxState)
|
| mainFacadeSetterService |
Type : unknown
|
Default value : inject(MainFacadeSetterService)
|