Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. import {
  2. Pipe,
  3. PipeTransform
  4. } from '@angular/core';
  5. @Pipe({
  6. name: 'customPipe'
  7. })
  8. export class NameofClass implements PipeTransform {
  9. transform(value: string, args: string[]): any {
  10. //Play with value and argument and return the result
  11. return value;
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement