FileSizePipe
FileSizePipe
Formats a number into a human-readable file size string.
Example
{{ fileSizeInBytes | filesize }}
Signature
class FileSizePipe implements PipeTransform {
transform(value: number, useSiUnits: = true) => any;
}
- Implements:
PipeTransform
transform
method
(value: number, useSiUnits: = true) => any