Pass more than one parameters to an Angular pipe.
You can define more params than one in an Angular pipe separating them with colons.
Using the destructor …args: any[] in the pipe class you get all the passed arguments in an array.
Pass more than one parameters to an Angular pipe.
You can define more params than one in an Angular pipe separating them with colons.
Using the destructor …args: any[] in the pipe class you get all the passed arguments in an array.