[solved] How to know when frontend finish rendering?


How to know when front-end finish rendering?

I mean, you have an Array of something on your backend and
a ngFor on your view.

How can I know when that’s finish? I want to know because I need to scroll down when it’s finish, and currently it scrolls before it renders.

Here’s some code to demostrate the problem:

Thank you

1 Like

To answer this, actually you can’t know. Ionic doesnt have any event or something that tell us that the screen finished rendering.

It does have when the screen loads. You just need to override this method:


There are some other hooks you can check them out here under the Lifecycle events area.

The solution to the scroll issues was discussed here: