File

src/lib/filter-toolbar/filter-toolbar.component.ts

Description

FilterToolbar is used to display the filter toolbar in the inbox toolbar.

Example :
<talenra-filter-toolbar [scrollBarShadow]="headerHidden()" [searchedAndFilteredDataItems]="filteredDataItems" />

Implements

OnInit OnDestroy

Metadata

Index

Properties
Methods
Inputs
Outputs

Inputs

iconFilters
Type : IIconInput[]
Default value : []

List of given IconFilters.

Outputs

iconFilters
Type : IIconInput[]

List of given IconFilters.

Methods

handlePresetGroupsForFilterToolbar
handlePresetGroupsForFilterToolbar(groupName: string, presetName: string, presetIdentifier: string)

Function to handle the preset groups for the filter toolbar.

Parameters :
Name Type Optional Description
groupName string No

The name of the group.

presetName string No

The name of the preset.

presetIdentifier string No

The identifier of the preset.

Returns : void

Properties

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)

results matching ""

    No results matching ""