packages/eui/packages/components/eui-table/filter/eui-table-filter.component.ts
Component used with eui-table
to add a filter feature to the table.
OnInit
OnDestroy
encapsulation | ViewEncapsulation.None |
HostDirectives |
BaseStatesDirective
|
selector | eui-table-filter |
imports |
FormsModule
ReactiveFormsModule
EUI_ICON_INPUT
EUI_ICON
EUI_INPUT_TEXT
|
templateUrl | ./eui-table-filter.component.html |
Properties |
|
Methods |
|
Inputs |
Outputs |
HostBindings |
Accessors |
autoSearch |
Type : boolean
|
Default value : false
|
placeholder |
Type : string
|
Placeholder text for the filter input. |
filterChange |
Type : EventEmitter
|
Event emitted when the value of the input changes. |
class |
Type : string
|
Public resetFilter |
resetFilter()
|
Reset the filter and emit the change event.
Returns :
void
|
Public setFilter | ||||||||
setFilter(value: string)
|
||||||||
Set the filter value and emit the change event.
Parameters :
Returns :
void
|
Public filter$ |
Type : BehaviorSubject<string | null>
|
Default value : new BehaviorSubject(null)
|
filterInput |
Type : ElementRef<HTMLInputElement>
|
Decorators :
@ViewChild('filterInput', {read: ElementRef})
|
Public form |
Type : FormGroup
|
cssClasses |
getcssClasses()
|
Computes and returns the CSS classes for the component based on its current state.
Returns :
string
|