Hi,
at my angular app inside a compenent.ts I want to know when the DOM is ready loaded.
So I put inside the constructer following code:
window.addEventListener('load', function () {
console.log('DOM fully loaded and parsed !!!!!!!!!!!!!!!!!!!!!!!!!!!!');
}, false);
The log ""DOM fully loaded and parsed !!!!!!"
is never called at the browser console.
Why it is not working?
How it should look like to get it work?
Frank