Last active
July 6, 2020 15:04
-
-
Save DevEarley/abbac578b90900cfd3517a62eda9dacd to your computer and use it in GitHub Desktop.
Angular pipe
This file contains hidden or 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: 'myPipe' | |
| }) | |
| export class MyPipe implements PipeTransform { | |
| transform(value, args?) { | |
| return //... logic goes here ... | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment