File

src/lib/simple-filter-selection/text-filter/text-filter.component.ts

Implements

OnInit OnChanges

Metadata

Index

Properties
Methods
Inputs
Outputs

Inputs

attribute
Type : ISelectedFilterAttribute
Required :  true

The attribute to identify which filter is selected.

Outputs

filterSelection
Type : ISelectedFilterAttribute

The filterSelection output is used to emit the filter values.

Methods

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 :
Name Type Optional Description
event Event No

The event.

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 :
Name Type Optional Description
mouseEvent MouseEvent No

The mouse event.

Returns : void

Properties

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.

results matching ""

    No results matching ""