I’m calling the pipe on li
<li [ngClass]="time | style">
In Pipe using value as first parameter
transform(value: any, args: any[]): any {
i want to pass second parameter also after time.
i tried to pass like this
<li [ngClass]="time : secondparam | style"..
but this is not working
Any solution to fix this issue
Thanks
>Solution :
You can pass as many as parameters
<li [ngClass]="time | style: args">
if you have more then would be like
<li [ngClass]="time | style: first:second:third"> and so on
Here is the official documentation