Last active
April 3, 2019 11:21
-
-
Save AbuzerAsif/d33aae7d2e170396cc5a37d125f3d3eb to your computer and use it in GitHub Desktop.
Angular Custom Pipes and How it works https://embarkcode.com/angular-custom-pipes/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Pipe, PipeTransform } from '@angular/core'; | |
@Pipe({ | |
name: 'myCustomPipe' | |
}) | |
export class MyCustomPipe implements PipeTransform { | |
transform(value: any, args?: any): any { | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment