File

src/app/shared/pipes/iops.pipe.ts

Metadata

Name iops

Methods

transform
transform(value: any)
Parameters :
Name Type Optional
value any No
Returns : any
import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'iops'
})
export class IopsPipe implements PipeTransform {
  transform(value: any): any {
    return `${value} IOPS`;
  }
}

result-matching ""

    No results matching ""