Service to register and manage filters. Filters are grouped by a string key that represents the single group of filter.
Methods
addFilterToGroup() |
---|
Add filters to a group, if the group does not exist, it will be created. If the group already exists, the filters will be added to the existing ones. |
PresentationaddFilterToGroup(group: string, newFilters: LmnFilter<unknown>[]): void;
|
ParametersName | Type | Description |
---|
group | string | @param group | newFilters | LmnFilter<unknown>[] | @param newFilters |
Returnsvoid
|
getGroup() |
---|
Return the filters of a group. If the group does not exist, it will be created. |
Presentation |
ParametersName | Type | Description |
---|
group | string | @param group |
Returns |
removeAllGroup() |
---|
Remove all groups. |
Presentation |
Returnsvoid
|
removeFiltersFromGroup() |
---|
Remove a filter from a group. |
PresentationremoveFiltersFromGroup(group: string, filterToRemove: LmnFilter<unknown>[]): void;
|
ParametersName | Type | Description |
---|
group | string | @param group | filterToRemove | LmnFilter<unknown>[] | |
Returnsvoid
|
removeGroup() |
---|
Remove a group. |
PresentationremoveGroup(group: string): void;
|
ParametersName | Type | Description |
---|
group | string | @param group |
Returnsvoid
|
replaceFiltersForGroup() |
---|
Replace the filters of a group with new ones. |
PresentationreplaceFiltersForGroup(group: string, newFilters: LmnFilter<unknown>[]): void;
|
ParametersName | Type | Description |
---|
group | string | @param group | newFilters | LmnFilter<unknown>[] | @param newFilters |
Returnsvoid
|