Parameter in to Animation Angular2

后端 未结 4 498
无人共我
无人共我 2020-11-30 03:00

I\'m trying to make a simple animation like the simple jQuery below

animate({\'left\' : left_indent})

I\'m using the Angular2 Animations bu

4条回答
  •  余生分开走
    2020-11-30 03:31

    The accepted answer doesn't work for me with Angular 4.4.6

    You have to wrap the param values in the template in an object params

    Replace:

    With:

提交回复
热议问题