Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {
- Pipe,
- PipeTransform
- } from '@angular/core';
- @Pipe({
- name: 'customPipe'
- })
- export class NameofClass implements PipeTransform {
- transform(value: string, args: string[]): any {
- //Play with value and argument and return the result
- return value;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement