Angular comes with a stock of pipes such as DatePipe, UpperCasePipe, LowerCasePipe, CurrencyPipe, and PercentPipe. They are all available for use in any template. But we also can create custom pipes
a) General
Name | Info | Status | |
---|---|---|---|
Name | : | A nic name, only allowed: a-z characters and space | required |
Prefix | : | The unique name of the page, using a-z and - characters only | auto |
Description | : | Descriptions are used for notes | required |
Description | : | Simple instructions on how to use it | required |
b) Arguments and Return
Name | Info | Status | |
---|---|---|---|
Return | : | Return type for transform function | required |
Arg1, Arg2, Arg... | : | Type and variable of arguments for transform function | required |
c) Transform Function
Transform Function Code, write without transform(...):...{
d) Others Function
If there are additional functions, please add. write code completely
Last edit: 2018-12-30 00:00:00