Page 1 of 1

onPageLoad

PostPosted: Fri Feb 13, 2015 12:22 am
by luishp
I have found a workaround to the onPageLoad event.
The current page-enter event is fired before the page elements are ready.
It's possible to catch the event after the elements are ready adding the following code to a html Container object property:
Code: Select all
<script>
$(document).ready(function() {
      alert("document ready occurred!");
});
</script>

Hope it helps

Re: onPageLoad

PostPosted: Fri Feb 13, 2015 2:56 am
by luishp
Further testing on this shows i does not work very well :-(
Unfortunately the </script> tag closes the Angular <script> tag to load the template.

Re: onPageLoad

PostPosted: Fri Feb 13, 2015 12:41 pm
by Neosoft Support
I will look into changing the page enter action so that it fires after the page is fully loaded.