Search highlight pipe
This is currently used with the type ahead feature of the filter fields component
Usage: // Individual module import import { SearchHighlightPipeModule } from 'patternfly-ng/pipe'; // Or import { SearchHighlightPipeModule } from 'patternfly-ng';
// Individual module import import { SearchHighlightPipeModule } from 'patternfly-ng/pipe'; // Or import { SearchHighlightPipeModule } from 'patternfly-ng';
@NgModule({ imports: [SearchHighlightPipeModule,...] }) export class AppModule(){}
Transform the substring matching the given search
The string to highlight
The text to search for
The given string with highlighted text
Generated using TypeDoc
Search highlight pipe
This is currently used with the type ahead feature of the filter fields component
Usage:
@NgModule({ imports: [SearchHighlightPipeModule,...] }) export class AppModule(){}