src/lib/simple-filter-selection/text-filter/text-filter.component.ts
| changeDetection | ChangeDetectionStrategy.OnPush |
| selector | talenra-text-filter |
| imports |
InputComponent
ButtonComponent
TooltipDirective
ReactiveFormsModule
FormFieldComponent
TalenraInboxTranslatePipe
|
| templateUrl | ./text-filter.component.html |
| styleUrl | ./text-filter.component.scss |
Properties |
|
Methods |
Inputs |
Outputs |
| attribute |
Type : ISelectedFilterAttribute
|
| Required : true |
|
The attribute to identify which filter is selected. |
| filterSelection |
Type : ISelectedFilterAttribute
|
|
The filterSelection output is used to emit the filter values. |
| ngOnInit |
ngOnInit()
|
|
Function is called when the component is initialized.
Returns :
void
|
| onEnterKey | ||||||||
onEnterKey(event: Event)
|
||||||||
|
Function is called when the enter key is pressed.
Parameters :
Returns :
void
|
| resetValue | ||||||||
resetValue(mouseEvent: MouseEvent)
|
||||||||
|
Function is necessary to delete the filter from the filter toolbar. Furthermore, the previous filtering with the deleted filter will be ignored.
Parameters :
Returns :
void
|
| reactiveForm |
Type : unknown
|
Default value : new FormGroup({
textField: new FormControl(''),
})
|
|
The filterValues are the values that are used to filter the data items. |
| Public Readonly stringValueInput |
Type : unknown
|
Default value : viewChild<InputComponent>('stringValueInput')
|
|
The selection field of the string value. |