All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.app.shared.pipes.search-text.pipe.ts Maven / Gradle / Ivy

The newest version!
/*
 * SPDX-FileCopyrightText: 2017-2024 Enedis
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 */

import { Pipe, PipeTransform } from '@angular/core';
import { filterOnTextContent } from '@shared/tools';

@Pipe({
    name: 'searchTextPipe'
})
export class SearchTextPipe implements PipeTransform {

    transform(input: any, filtertext: string, args: any[] = null) {
        return filterOnTextContent(input, filtertext, args);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy