-1

Trying to add params to transition same as in animation but seems transition not supporting parameters. It says: The provided transition expression "{{transition}}" is not supported. Please check reproduction in Stackblitz: Stackblitz Demo

Hope someone can solve this problem.

Vugar Abdullayev
  • 1,852
  • 3
  • 21
  • 46

1 Answers1

1

It seams that you are using it the wrong way. Triggers nor transitions are not to be interpolated, only animation definition with the use of useAnimation

https://angular.io/guide/reusable-animations#creating-reusable-animations

Antoniossss
  • 31,590
  • 6
  • 57
  • 99