I want to fire function call on window.onload
event. But inside my stackblitz project this is not firing at all.
window.onload = function () {
console.log('loading...');
};
You can check out the same inside stackblitz demo link here
I have to add this link of stackblitz code demo here because I am having issue with there. Can you suggest a way of correcting this? Thanks.