2.3.0 • Published 1 year ago
ngx-local-pipe v2.3.0
Simple local pipe, fully typed, see: https://github.com/angular/angular/issues/25976
How to use
- install by running
npm i ngx-local-pipe - add
NgxLocalPipeModuleto your module imports
Example
component template
componentMethod | ngxLocalPipe : firstArgument : secondArgument : thirdArgument ...etccomponent class
public componentMethod(firstArgument, secondArgument, thirdArgument, ...) {
...
}componentMethod should be a pure function, do not use this inside