UNPKG

@rxap/table-system

Version:

This package provides a set of Angular directives, components, and services to enhance data tables with features like row expansion, full-text search, and row selection with checkboxes. It includes modules for easy integration of these features into exist

74 lines (40 loc) 2.18 kB
[@rxap/table-system](../wiki/globals) / TableFilterInputDirective # Class: TableFilterInputDirective Defined in: [full-text-search/table-filter-input.directive.ts:20](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/full-text-search/table-filter-input.directive.ts#L20) ## Implements - `OnInit` - `OnDestroy` ## Constructors ### new TableFilterInputDirective() > **new TableFilterInputDirective**(`ngModel`, `stringFilterService`): [`TableFilterInputDirective`](../wiki/Class.TableFilterInputDirective) Defined in: [full-text-search/table-filter-input.directive.ts:23](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/full-text-search/table-filter-input.directive.ts#L23) #### Parameters ##### ngModel `NgModel` ##### stringFilterService [`TableFullTextSearchService`](../wiki/Class.TableFullTextSearchService) #### Returns [`TableFilterInputDirective`](../wiki/Class.TableFilterInputDirective) ## Methods ### ngOnDestroy() > **ngOnDestroy**(): `void` Defined in: [full-text-search/table-filter-input.directive.ts:31](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/full-text-search/table-filter-input.directive.ts#L31) A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed. #### Returns `void` #### Implementation of `OnDestroy.ngOnDestroy` *** ### ngOnInit() > **ngOnInit**(): `void` Defined in: [full-text-search/table-filter-input.directive.ts:35](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/table-system/src/lib/full-text-search/table-filter-input.directive.ts#L35) A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated. #### Returns `void` #### Implementation of `OnInit.ngOnInit`