your recipe card header background

    Angular Pipe

    0

    0

    Jose Romero

    Angular TypeScript Recipes

    The @Pipe annotation defines a pipe which will be used to transform the input values. The PipeTransform class defines the generic interface for the pipe. The transform() method will be used to transform the input values. The ...args parameter is an array of input values that will be passed to the transform method.

    Library: angular

    Shortcut: angular.pipe

    import { Pipe, PipeTransform } from '@angular/core';
    
    @Pipe({
      name: 'selector-name'
    })
    export class NamePipe implements PipeTransform {
      transform(value: any, ...args: any[]): any {
      }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.