calling a js within custom html element which paints a calendar on the screen . This calendar does not load when the page opens . On refreshing the page it works correctly with all the elements on the screen .
i am trying to load a custom calendar on screen .