Magento2 – Run Custom JavaScript After Page Load

javascriptmagento2

Is there any way to execute a custom javascript file after full content of the page is finished loading and after every other javascript file has finished execution ?

Best Answer

In general, no, because the scripts are loaded asynchronously.

Related Topic