Streaming live at 10am (PST)

Wait until external API has loaded

Hello everyone,
I have just created my first project that involves fetching (almost) all content from an external API in the form of JSON objects. The loading time of the objects to be fetched (GET requests) and rendered as html objects on the page takes about 500ms. I would like to fade in the content using interactions.
The page finished loading trigger does not seem to wait for the data to be fetched. Could you please help me make this work?

I sadly cannot share the link to the page as it already contains some sensitive information of the client. I believe the question is hopefully general enough to understand without seeing the page? :slight_smile:

Thanks in advance, this is my first forum post but I have gotten so much help here already, you guys are awesome!