E
E
Egor Sh2016-04-24 13:02:16
css
Egor Sh, 2016-04-24 13:02:16

How to access elements with jQuery if they haven't been rendered yet in angular2?

I load data from the server, when it arrives, I display it using *ngFor, that is, I don’t know in advance how many elements will be formed, but I need to hang animations on these elements after they appear. Is there some way to get an event in angular when the element is rendered or something like that.
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
_
_ _, 2016-04-24
. @EgorkZe

ngAfterViewChecked hook on a component

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question