I wanted some page objects to load async I used this piece of code, however when the page loads where it should contain the object it goes blank. Could someone help me?
$w.onReady(function () { loadObjects(); }); async function loadObjects() { $w('columnStrip4').expand; $w('columnStrip3').expand;
}
Glad to be of help :)
Regards,
Genry.
Hi Genry
Yes, I read the async article more closely and understood where I can use it and where not. Thank you very much for your attention.
Hi Raphaela.
Can you please explain what are you trying to achieve?
All the components are loaded automatically, the site is optimized to efficiently load the page.
You can expand the items after the page is rendered, but it will only be a visual effect, it won't affect performance.
Regards,
Genry.