Skip to content

Instantly share code, notes, and snippets.

@AbuzerAsif
Last active April 3, 2019 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbuzerAsif/940c965587e70cd0e28a803505aeb9e7 to your computer and use it in GitHub Desktop.
Save AbuzerAsif/940c965587e70cd0e28a803505aeb9e7 to your computer and use it in GitHub Desktop.
Angular Custom Pipes and How it works https://embarkcode.com/angular-custom-pipes/
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'myCustomPipe'
})
export class MyCustomPipe implements PipeTransform {
transform(value: any, args?: any): any {
return value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment