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

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to