UNPKG

@hxui/angular

Version:

An Angular library based on the [HXUI design system](https://hxui.io).

17 lines (16 loc) 665 B
/** * Example use * Array of objects: *ngFor="#row of rows | simpleSearch : 'the search term'" */ import { PipeTransform } from '@angular/core'; import * as i0 from "@angular/core"; export interface ISimpleSearchPipe extends PipeTransform { searchValue(item: any, searchTerm: string): boolean; } export declare class SimpleSearchPipe implements ISimpleSearchPipe { constructor(); searchValue: (item: any, searchTerm?: string) => boolean; transform(items: any[], args: any[]): any; static ɵfac: i0.ɵɵFactoryDeclaration<SimpleSearchPipe, never>; static ɵpipe: i0.ɵɵPipeDeclaration<SimpleSearchPipe, "simpleSearch">; }