Problem is i can not use window.onload on sub pages.
Is there any other event i can use?
if not , what is the correct way to build router sub pages ?
Hi Dark Beccio,
Take my apologies for the late reply.
I have made a little code snippet on how to achieve this:
//In your JS file